-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Fuzziness support in intervals query #49595
Comments
This is one of the reasons I created #49519. Even if this is not something you (Elastic) want to maintain and/or put restrictions on, please allow us to do it our self via plugins. |
Pinging @elastic/es-search (:Search/Search) |
If we have the same restriction than |
Fuzziness is slightly trickier than prefix or wildcard because we don't just select the first |
The current strategy for multi-terms interval query is to throw an error if the number of expanded terms is greater than the provided threshold. I think we should apply the same for fuzzy query in order to ensure that we don't miss result due to pruning ? |
Good to see you @mattweber. Have you developed any such plugin that is publically available? |
@prasad2kin Hi! No, I have not because intervals are not currently pluggable. I opened #49519 to make it possible, but I am not sure this will get merged or not. |
Thanks @romseygeek !! |
@consulthys you can check the version in the pr, it is currently targeted for 7.6. |
This intervals source will return terms that are similar to an input term, up to an edit distance defined by fuzziness, similar to FuzzyQuery. Closes #49595
This intervals source will return terms that are similar to an input term, up to an edit distance defined by fuzziness, similar to FuzzyQuery. Closes #49595
This intervals source will return terms that are similar to an input term, up to an edit distance defined by fuzziness, similar to FuzzyQuery. Closes elastic#49595
Feature request:
Following up on this discussion:
ES 7.0 introduced support for the Lucene
intervals
query which is more powerful and easier to deal with thanspan
queries (analyzer support, etc). However, one thing thatspan
queries support andintervals
doesn't is fuzziness. Since theintervals
query is supposed to help in legal and patent search, I have a hard time understanding how this could be possible without fuzziness support.I could not find much information about that when browsing the Github issues. Is there any reason why the
intervals
query doesn't support fuzziness? (because Lucene doesn't maybe)? Is it on the roadmap?Quoting @jimczi who suggested to open a new issue so that this new feature request could be discussed:
The floor is yours, guys!
The text was updated successfully, but these errors were encountered: