Start a Conversation

Unsolved

This post is more than 5 years old

1492

October 20th, 2011 08:00

JCASScript: how to filter ClipIDs based on atribute value

Hi,

using JCASScript, I need to find out all the clipIDs having a given value for an application-specific attribute stored in Centera.

In the documentation I can see the "queryIncludeAttribute" to set an attribute name in the query, but I could not find any function to filter based on the value of an attribute. How can I do it?

Additionally I would like to know if it is possible, given a file containing a number of clipIDs, to use this file as input to a JCASScript function in order to filter CLIPIDs belonging to the input file, based on some criteria.

Thanks a lot in advance

409 Posts

October 20th, 2011 08:00

The only filter you can apply is a time interval.  You cannot filter by the value of any clip attribute all you can do is request the value of the atttribute(s) is included in the result set along with the the content address of the clip.

You would have to then do a second stage filter of the result set yourself.

The clips in the centera are not in anyway indexed by the attributes in the clip.

4 Posts

October 20th, 2011 08:00

Thank you very much Paul,

since the expected set of clipIDs to investigate, based on time interval, will be around 600K, is there an efficient way to get the metadata of all these clipIDs with a single command, possibly in a multi-thread mode?

Thanks again

No Events found!

Top