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

Make the Advanced Search case insensitive #70

Open
tlammer opened this issue Jun 8, 2023 · 10 comments
Open

Make the Advanced Search case insensitive #70

tlammer opened this issue Jun 8, 2023 · 10 comments
Assignees

Comments

@tlammer
Copy link

tlammer commented Jun 8, 2023

Requested by Nebraska
they would like to be able to search on a term like "femur" and get back records with both "Femur" and "femur" in the field.
I cannot think of any use cases where having case sensitivity would be necessary and not having it would make it considerably easier.

@mcruz-umich
Copy link

mcruz-umich commented Jun 13, 2023

UMich would like this as well.

@specifysoftware
Copy link

This issue has been mentioned on Specify Community Forum. There might be relevant details there:

https://discourse.specifysoftware.org/t/make-advanced-search-mode-in-webportal-case-insensitive/1233/2

@grantfitzsimmons
Copy link
Member

Oranim College of Education would like this as well

@grantfitzsimmons
Copy link
Member

Requested by KU Mammals as well

@grantfitzsimmons
Copy link
Member

Requested By PRI Paleo as well

@grantfitzsimmons
Copy link
Member

Requested by Paul Larson at FWRI as well

@grantfitzsimmons
Copy link
Member

This was one of the main topics of our Technical Advisory Committee in July this year.

This has now been requested by:

  • University of Michigan (Founding member)
  • University of Florida (Founding member)
  • University of Colorado Boulder
  • University of Nebraska
  • Florida Fish and Wildlife Research Institute
  • Oranim College of Education
  • Paleontological Research Institution
  • KU Mammals

@grantfitzsimmons
Copy link
Member

Requested by UWFC

@grantfitzsimmons
Copy link
Member

After asking FLMNH about case-sensitivity, they had the following to say:

Yes, all our collections prefer case-insensitive searching and I believe all our portals are currently set that way. We alter the string field type to text_gen_sort_hypen in the solr schema with a bash script. Attached is a copy. If I recall correctly, we discussed the problem with Tim Noble back when the portals initially became case sensitive and he suggested we change the field type. The bash script was our solution.

webportal-rebuild.sh.txt

@grantfitzsimmons
Copy link
Member

In the webportal the express search field appears to be case insensitive, while the fields using the advanced search option seems to be case sensitive. The attached screenshots show searches for “woot” (all lower case) using the two different search options. If this isn’t a bug, it is unnecessarily confusing to the user.

It would be best for all searches in the webportal to be case insensitive. Also diacriticals should be ignored using both the express and advanced search options.

Requested by: New Mexico State University Herbaria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants