-
Notifications
You must be signed in to change notification settings - Fork 27
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
Allow for physdesc elements that are not extent #1448
Comments
This likely warrants some community input on what approach we should take in core. At Duke, we would be happy to PR our solution into core if the community finds this applicable. Our current strategy is to capture all values from within Collection-level indexing:
Component-level indexing:
solr_document.rb
Then display it via the
|
Our customizations at IU assume that all child elements are excluded while indexing
And then lots of logic scattered about to pick up the child elements...
And then the individual fields above are used directly in the catalog controller to add to summary and component fields. See: Component indexing: Collection catalog field definitions: Component catalog field definitions: |
@seanaery Just making sure I understand your implementation correctly... You are essentially just getting the text only out of So in the end you have a single field in the display, and all values are contained there with no inner labeling of where those values originally came from (i.e. physfacet vs. dimensions etc.) The difference with IU is direct access of those child elements, which are labeled separately. Just wondering how to resolve questions of granularity like this for core default behaviors. |
That's exactly correct @randalldfloyd -- that how ours currently works (this was a change we made in our recent upgrade). The way you have physdesc & descendants set up at IU seems more appropriate for the core engine than our setup is, I think. I'm tagging @mmmmcode for her thoughts on this as well. Your IU code might even be preferable for Duke's site. It does give you more granular control over those different elements... |
For example
physfacet
dimensions
This ticket covers indexing, display, and formatting.
This ticket is broken out from #898
The text was updated successfully, but these errors were encountered: