-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export to Geoblacklight #70
Comments
…e FileSet (covering the indexing of properties into a Solr Document compliant with the GeoBlacklight schema)
…field "uuid" for the GeoBlacklight schema by overriding #to_solr within GeoFileSetBehavior
As I currently understand the GeoBlacklight schema and this issue, the ActiveFedora ID for the FileSet or Image/Raster/VectorWork must map to the Solr field "uuid". Unfortunately, I receive the following error when I attempt to implement a solution for this:
(Please see the latest [WIP] commit) My suspicion is that Solrizer uses dynamic fields in order to avoid hard-coding fields generated for indexed ActiveFedora properties (explaining why one finds field names such as "dct_references_s" rather than simply "dct_references", as a common pattern for dynamic fields would be "*_s" for single valued strings). Because GeoBlacklight requires "uuid" rather than "uuid_s", I can only propose that we proceed by offering an alternative/extended Solr schema. I will further investigate this and report my findings. Please let me know if any of my suspicions rest upon some misunderstanding of Solrizer, the GeoBlacklight schema, or ActiveFedora. |
Note that the GeoBlacklight schema went 1.0. See the wiki for details: https://github.com/geoblacklight/geoblacklight/wiki/Schema GeoCombine might also be useful |
Pending #170 |
I have a branch going, but I have a question. How do I make an attribute a single valued attribute? Right now, https://github.com/projecthydra-labs/geo_concerns/blob/70-geoblacklight-schema-v1/app/models/concerns/geo_concerns/solr_document_behavior.rb#L22 |
I'm not sure why, but it looks like you have to do some custom indexing to get that to happen. As it stands, the UI only allows one |
Also related is issue #169. I think we might want to use a configurable institution name here to generate the geoblacklight docs instead of provenance. We may not need that property at all. |
there's also that new :depositor attribute, but I dunno how it's used in cc. |
I don't understand the link to the collection_indexer.rb. Can you clarify? |
@drh-stanford I got confused there. That is not the droid you are looking for. |
@johnhuck The :depositor attr looks like it is auto-populated with the username of the person creating the work. I think this is to support sufia/ir applications. |
👍 makes sense. |
Have an endpoint that export the item into geoblacklight schema
The text was updated successfully, but these errors were encountered: