Issue Details (XML | Word | Printable)

Key: CODEBASE-169
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Bess Sadler
Reporter: Naomi Dushay
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Blacklight Plugin

removed hardcode expectation for "id" field in solr document

Created: 06/Aug/09 06:59 PM   Updated: 30/Oct/09 12:45 PM
Component/s: None
Affects Version/s: 2.5
Fix Version/s: 2.5

Issue Links:
Duplicate
 


 Description  « Hide
Naomi said (post to blacklight-devel lis Aug 3, 2009)

"Fedora (the Digital Object Repository, not RedHat) G-Search seems to
use a field called "pid" as the unique identifier.

"We are trying to run Blacklight on top of a fedora instance that is
using Fedora --> G-search. Blacklight makes assumptions that the
unique id for a SOLR document is named "id". This conflicts with
Fedora's notion of "pid" as the unique identifier for an object ...
which is then pushed into G-Search ... blah blah.

"One solution is to make a copyfield called "id".

"But would it also make sense to avoid hardcoding "id" as a field name
for the unique identifier of SOLR documents in Blacklight?"

Erik said:
"Yes, it makes sense for Blacklight to abstract Solr's uniqueKey setting through some simple indirection."

Bess said:
"Yes, if we're asking the gsearch and active fedora people not to
assume what the unique id field is called, then we can't hard code it
either. We should definitely fix this."


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.