pulibrary / dpul

Princeton's digital collections: Digital PUL
https://dpul.princeton.edu/
Apache License 2.0
15 stars 0 forks source link

Searching for the plural is returning different results #1430

Open tpendragon opened 1 year ago

tpendragon commented 1 year ago

Summary

Solr's filters should be condensing "farmer" and "farmers" to provide the same results, but it's not. See https://dpul.princeton.edu/sae/catalog?utf8=%E2%9C%93&exhibit_id=sae&search_field=all_fields&q=farmer vs https://dpul.princeton.edu/sae/catalog?utf8=%E2%9C%93&exhibit_id=sae&search_field=all_fields&q=farmers.

Maybe some sort of solr config or indexing bug?

Impact

Users should be able to find items with close searches, and certainly plurals vs singular.

Priority recommendation

Expected behaviour

Search results for "farmer" and "farmers" are similar if not exactly the same.

Actual behaviour

Largely different result sets.

Steps to reproduce behaviour

https://dpul.princeton.edu/sae/catalog?utf8=%E2%9C%93&exhibit_id=sae&search_field=all_fields&q=farmer vs https://dpul.princeton.edu/sae/catalog?utf8=%E2%9C%93&exhibit_id=sae&search_field=all_fields&q=farmers

Screenshots

Screen Shot 2023-01-25 at 10 06 29 AM

Screen Shot 2023-01-25 at 10 06 40 AM

tpendragon commented 1 year ago

I'm assigning this to @kelea99 to prioritize, mostly as an attempt to get it on her radar for when she's back.