Is it possible to feed findObjects conditions related to a custom datastream? I
have objects with a DCTERMS datastream and I'd like to search within that. At
the moment I search within the default DC record "subject" field(s) but I'd
like to move to a separate DCTERMS datastream and need to search it.
FieldSearchQuery query = params.addNewQuery();
FieldSearchQuery.Conditions conditions = query.addNewConditions();
Condition condition = conditions.addNewCondition();
condition.setProperty("subject");
condition.setOperator(ComparisonOperator.HAS);
condition.setValue(searchQuery);
can I do something like:
condition.setProperty("dcterms:subject");
or does findObjects only work with the default DC record?
Also, the result fields only seem to relate to the default DC record. Can I do
something similar:
ArrayOfString resultFields = params.addNewResultFields();
resultFields.addItem("dcterms:title");
Once I find an object that matches the condition I can load the DCTERMS
datastream separately but I'm not sure how to search within the DCTERMS
datastream itself.
thanks,
Alistair
--------------
mov eax,1
mov ebx,0
int 80
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users