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

NOT advanced search on provisions/pages doesn't work correctly #1815

Open
longhotsummer opened this issue May 14, 2024 · 0 comments
Open

NOT advanced search on provisions/pages doesn't work correctly #1815

longhotsummer opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working discovery search and discovery impact: low

Comments

@longhotsummer
Copy link
Contributor

There is a problem with negative queries on pages or legislation with provisions. Because each provision/page is indexed and search individually, it's possible to have a search dog -cat that returns a document with cat in it, because it'll match pages or provisions that have dog but not cat.

So for negative searches we actually need to index and search the full content, not on a per-page or per-provision basis.

@longhotsummer longhotsummer added bug Something isn't working discovery search and discovery impact: low labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discovery search and discovery impact: low
Projects
None yet
Development

No branches or pull requests

1 participant