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

fix phrase search #442

Merged
merged 2 commits into from
Feb 7, 2022
Merged

fix phrase search #442

merged 2 commits into from
Feb 7, 2022

Conversation

MarinPostma
Copy link
Contributor

@MarinPostma MarinPostma commented Feb 1, 2022

Run the exact match search on 7 words windows instead of only two. This makes false positive very very unlikely, and impossible on phrase query that are less than seven words.

@MarinPostma MarinPostma marked this pull request as draft February 1, 2022 12:44
@MarinPostma MarinPostma force-pushed the fix-phrase-search branch 2 times, most recently from 8522f7b to 4bb8ff3 Compare February 1, 2022 19:11
@MarinPostma MarinPostma marked this pull request as ready for review February 1, 2022 19:15
milli/src/search/criteria/mod.rs Show resolved Hide resolved
milli/src/search/criteria/mod.rs Outdated Show resolved Hide resolved
milli/src/search/criteria/mod.rs Outdated Show resolved Hide resolved
Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

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

Looks good to me, waiting for the @ManyTheFish review before merging!

@curquiza
Copy link
Member

curquiza commented Feb 7, 2022

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 7, 2022

@bors bors bot merged commit 5d58cb7 into main Feb 7, 2022
@bors bors bot deleted the fix-phrase-search branch February 7, 2022 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants