active_fedora icon indicating copy to clipboard operation
active_fedora copied to clipboard

Strategies for indexing metadata in files

Open awead opened this issue 9 years ago • 3 comments

ActiveFedora::File objects can contain metadata, but it is not indexed in Solr. There needs to be documentation about how to do that. The current strategy is to index the metadata in the ActiveFedora::Base object that contains the file, but this must be done via a custom indexer.

See #1098

awead avatar Jul 08 '16 20:07 awead

ping @barmintor

awead avatar Jul 08 '16 20:07 awead

If you want to retain indexing, why not use the datastream gem? https://github.com/projecthydra-labs/active_fedora-datastreams

jcoyne avatar Jul 08 '16 22:07 jcoyne

@jcoyne I was referring more to binary files that have description attached to them, i.e. /fcr:metadata, but yeah, if you want an AF::File that is purely just description, the datastream gem would be the way to go.

awead avatar Jul 11 '16 14:07 awead