Skip to content

1817 - Fixing SearchQuerySet to use all given words in db search #1820

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mkaniaa
Copy link

@mkaniaa mkaniaa commented Nov 1, 2021

With this fix, when a string containing more than one word is passed to the SearchQuerySet filter, a database query will be created in the way to use all the specified words and combines them into a single WHERE clause. The returned result should be all records that contain all those specified words.

All details are described in the issue: 1817

gbdlin
gbdlin previously approved these changes Nov 2, 2021
@mkaniaa mkaniaa force-pushed the 1817-fix-SearchQuerySet-to-use-all-words-in-search branch 4 times, most recently from 9a55a7b to 12b0812 Compare November 9, 2023 12:40
@mkaniaa mkaniaa force-pushed the 1817-fix-SearchQuerySet-to-use-all-words-in-search branch 2 times, most recently from e0f6869 to 4781950 Compare December 19, 2023 14:06
mkaniaa and others added 3 commits December 19, 2023 15:06
With this fix, when a string containing more than one word is passed to the SearchQuerySet filter, a database query will be created that uses all the specified words and combines them into a single WHERE clause. The returned result should be all records that contain all those specified words.
With this fix, when a string containing more than one word is passed to the SearchQuerySet filter, a database query will be created that uses all the specified words and combines them into a single WHERE clause. The returned result should be all records that contain all those specified words.
@mkaniaa mkaniaa force-pushed the 1817-fix-SearchQuerySet-to-use-all-words-in-search branch from 4781950 to fdff906 Compare December 19, 2023 14:06
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