Skip to content
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

adds more fields to the search-id for better accuracy in searching #23

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

sephirothkod
Copy link
Contributor

@sephirothkod sephirothkod commented Aug 11, 2022

Also fxes the possibility of two sets of iiif attributes on the thumbnail url. some lint clean up.

…ixes the possibility of two sets of iiif attributes on the thumbnail url. some lint clean up.
@sephirothkod sephirothkod changed the title adds more fields to the search-id for better accuracy in searching. f… adds more fields to the search-id for better accuracy in searching Aug 11, 2022
id_arr << "#{exhibit_id}-#{solr_hash['unique-id_tesim'].gsub('.', '').gsub(':', '')}" # all_punc_stripped w/ exhibit id
id_arr << urn = fetch_ids_uri(@item_solr['thumbnail_url_ssm']).split('/').last.split('?').first # urn
id_arr << urn.gsub('.', '').gsub(':', '') # urn with punc stripped

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading note: we're ensuring that searches via multiple nuanced differences work.

@jeremyf jeremyf merged commit b9db162 into main Aug 11, 2022
@jeremyf jeremyf deleted the parser_updates branch August 11, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants