Feature #6346


Make # READ events available in SOLR index

Added by ben leinfelder over 9 years ago. Updated over 9 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
(Total: 0.00 h)


I'd suggest using the dynamic fields we have at our disposal:
Something like "read_count_i" for the dynamicField name.

We need to add a channel for getting name/value pairs into the index that is not based on the document content, but any arbitrary code that wants to include values in the index for a given document.

Subtasks 1 (0 open1 closed)

Task #6347: Create mechanism for adding name/value pairs to the solr indexClosed01/03/2014


Related issues

Related to Metacat - Feature #5989: Track data download, view and citation statisticsIn ProgressPeter Slaughter

Actions #1

Updated by ben leinfelder over 9 years ago

  • Description updated (diff)
  • Assignee set to Peter Slaughter
Actions #2

Updated by ben leinfelder over 9 years ago

  • Status changed from New to In Progress
  • Assignee changed from Peter Slaughter to ben leinfelder

I committed my first attempt at this. It should probably be tested a bit more to ensure that indexing events do not unintentionally overwrite the additional field[s] added to the index that are not derived from the document or SystemMetadata. I intend to use this same mechanism to augment the index with semantic fields.

Actions #3

Updated by ben leinfelder over 9 years ago

  • Status changed from In Progress to Resolved

Note that this uses our own copy of the solr schema.xml instead of the version offered by the DataONE library. I think this is okay and I have committed the same changes to the trunk of the d1 library so that the multi-valued dynamic fields will be available for our use.
While this is not strictly required for the READ events (there is only one value) the mechanism that indexes those events does generally allow for multivalued dynamic fields being added to the index. So if the schema does not have those declared, it will fail to add those updates to the index.


Also available in: Atom PDF