I'm trying to add a rels-ext field to my Solr index so that I can search
on items that are members of specific collections. I have three
collections that are defined by a rels.isMemberOfCollection attribute.
I've tried adding the following to my Solr schema.xml:
<fields>
.
.
.
<field name="rels.isMemberOfCollection" type="text" indexed="true"
stored="false" multiValued="true"/>
<field name="collection" type="string" maxChars="300" indexed="true"
stored="true" multivalued="true"/>
.
.
.
</fields>
<copyField source="rels.isMemberOfCollection" dest="collection" />
My goal is to be able to do searches of either of the following -
isMemberOfCollection:myCollection or collection:myCollection
However, when I generate my Lucene index (using fedoragsearch - update
index), after modifying the schema.xml as shown above. neither the
rels.isMemberOfCollection or collection fields get added to the index.
Based on another post on this group I also tried replacing
rels.isMemberOfCollection with fedora-rels-ext.isMemberOfCollection but
that didn't work either. Any ideas?
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users