Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

unexpected search results for query with leading stop word #397

Open
woodt opened this issue Aug 18, 2020 · 1 comment
Open

unexpected search results for query with leading stop word #397

woodt opened this issue Aug 18, 2020 · 1 comment

Comments

@woodt
Copy link
Contributor

woodt commented Aug 18, 2020

This applies to catalog-next.data.gov after the updates to the Solr schema to add stop word filtering.

How to reproduce

Run a dataset search for the strings "department of education" and "the department of education" ...

Compare the results.

Expected behavior

I think (ideally) that the stop word "the" should be ignored, and both queries should return the same set of datasets.

Actual behavior

For the query "department of education" ...
catalog-next.data.gov returns 1.260 datasets.

For the query "the department of education" ...
catalog-next.data.gov returns ... 0 datasets.

Oops.

@woodt
Copy link
Contributor Author

woodt commented Aug 18, 2020

Also see datagov-ckan-multi#375

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

No branches or pull requests

1 participant