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

Search: better results for single terms #7569

merged 2 commits into from Oct 23, 2020


Copy link

@stsewd stsewd commented Oct 15, 2020

This makes use of the wildcard query when a single term is given, users can still have exact results by using the "word" syntax. This is under a feature flag.

Examples, having indexed the following "foo", "", "" "network", "two".

  • Searching for foo will return foo, and (before this it would return only foo)
  • Searching for two will return two and network (here exact matches have more priority) (before this it would return only two)
  • Searching for "two" will return two (same as before)

Based on #7568

@stsewd stsewd added the Needed: tests Tests are required label Oct 15, 2020
@stsewd stsewd removed the Needed: tests Tests are required label Oct 15, 2020
@stsewd stsewd requested a review from a team October 15, 2020 22:33
Copy link

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an interesting thing to test out 👍

Copy link
Member Author

stsewd commented Oct 19, 2020

Need to merge #7568 first

@stsewd stsewd merged commit c91555c into partial-results Oct 23, 2020
1 check passed
@stsewd stsewd deleted the single-terms branch October 23, 2020 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants