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

n-gram matching support in streaming mode #33051

Open
Alexander-Mark opened this issue Dec 19, 2024 · 1 comment
Open

n-gram matching support in streaming mode #33051

Alexander-Mark opened this issue Dec 19, 2024 · 1 comment
Assignees
Milestone

Comments

@Alexander-Mark
Copy link

Alexander-Mark commented Dec 19, 2024

Is your feature request related to a problem? Please describe.
When setting gram matching in a field of a doc that uses streaming mode, the following warning is given:
n-gram matching is not supported for streaming search

Describe the solution you'd like
For streaming mode to support n-gram matching.

Describe alternatives you've considered
We are using substring matching in streaming mode as an alternative.

Additional context
Fuzzy search would be nice to have in those cases where high recall (eg misspellings) or CJK search is a priority in apps using streaming mode.

@geirst geirst changed the title Fuzzy (n-gram) matching support in streaming mode n-gram matching support in streaming mode Jan 15, 2025
@geirst geirst added this to the later milestone Jan 15, 2025
@vekterli
Copy link
Member

We changed the title to remove "fuzzy" for disambiguation since streaming search already supports the fuzzy matching query operator in both regular and prefix match modes. Since you're currently using substring matching as an alternative I presume your use case is for fuzzily matching a term within a longer string (as opposed to fuzzily matching full strings)?

Having streaming search feature parity for n-gram matching definitely makes sense (especially for CJK, as you mentioned), but I'm not sure when we'll have time to look at it.

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

No branches or pull requests

3 participants