Hi Alistair Fedora's built-in search service ("Basic Search") only indexes DC - it's not intended as a search service for a production repository. For this most people use an external search service, such as SOLR - GSearch provides a framework for using Fedora with SOLR.
An alternative is the Resource Index https://wiki.duraspace.org/display/FCR30/Resource+Index - you can add your own terms to this by adding them to the RELS-EXT datastream. Regards Steve > -----Original Message----- > From: Alistair Young [mailto:alistair.yo...@uhi.ac.uk] > Sent: 07 August 2011 09:13 > To: Support and info exchange list for Fedora users. > Subject: [fcrepo-user] API-A findObjects using custom datastream > > > 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 > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ 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 Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users