-
Notifications
You must be signed in to change notification settings - Fork 0
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
Additional sort orders #307
Comments
My memory of solr is that you can only sort on a single-valued field. Is this no longer the case? If it is the case we'll need single-value versions of some/all of these and a way to decide which value to use. |
That's still the case. Maybe we just pick the first value and see how that goes? Will be an issue for multi-language titles. |
Yes, I think we should make sure we're always using the Roman-script titles to make the sorting more consistent. |
Is there a way to tell what language a title is in? |
You can tell the direction it's in ( |
The source metadata has the language info, so we can just make sure the first or last thing is the romanized title when we index. |
I can't find any example records (in figgy) with publication_place data. does anyone know of one? |
Maybe publication place doesn't make it into figgy? Here's a record in figgy that has a "publication_place_facet" value in Orangelight https://bibdata.princeton.edu/bibliographic/4606238/solr |
Yeah it's available as a MARC relator field but I'm not sure anything is using it. I'm not sure where the mapping is defined; maybe as part of the imported metadata logic which I didn't dive deeply into. |
We've agreed to move forward without place_of_publication. It seems like a use case well-served by searching, and the data doesn't really seem to be there to support it. If we find a good use case to support doing this, after all, we should open a new ticket for that work. |
for deploy: each collection must be reindexed. Once reindex is complete, go to dashboard configuration > search > results, select the new sort options, and save. then they will appear. @escowles this is currently deployed to pomegranate staging and on for the Cotsen collection. |
except that it's not working. will look into it. |
Revert "Add sort fields for title, date, and author; fixes #307"
reverted the commit because things weren't working on staging. will re-test pending new staging box, which is block by ruby version work in the ansible repo. |
Add ability to sort search results by
The text was updated successfully, but these errors were encountered: