Bug #77
Solr-based Relationship finders don't construct Solr query correctly
| Status: | Closed | Start: | 12/09/2008 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Search/Solr | Spent time: | 1.00 hour | |
| Target version: | 1.0 Beta Release | |||
| Sponsor: |
Description
Currently, RelsExtDatastream.to_solr updates solr with fields like isPartOf_field conformsTo_field, etc. Meanwhile SemanticNode#has_relationship creates finders that attempt to query solr with
... which causes solr to complain that is_member_of is an unknown field.
is_member_of:changeme:1
... which causes solr to complain that is_member_of is an unknown field.
Either
A) fix the finders to use the camel cased predicate names (based on the official Fedora Relationship Ontology)
or
B) fix the finders to add "_field" to the field name in the query AND fix has_relationship to use the ruby-style relationship names (ie. is_member_of)