Bug #77

avatar

Solr-based Relationship finders don't construct Solr query correctly

Added by Matt Zumwalt 597 days ago. Updated 597 days ago.

Status:Closed Start:12/09/2008
Priority:Normal Due date:
Assigned to:avatarMatt Zumwalt % 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
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)

History

Updated by Matt Zumwalt 597 days ago

avatar
  • Status changed from New to Closed

Also available in: Atom PDF