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

Add fuzzy query as default query with a low boost value #2503

Closed
marevol opened this issue Nov 28, 2020 · 0 comments
Closed

Add fuzzy query as default query with a low boost value #2503

marevol opened this issue Nov 28, 2020 · 0 comments
Assignees
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Nov 28, 2020

No description provided.

@marevol marevol added this to the 13.10.1 milestone Nov 28, 2020
@marevol marevol self-assigned this Nov 28, 2020
hieu1-hoangtrung added a commit to toshiba/fess that referenced this issue Oct 21, 2023
By default, for single-phrase Term Queries, Fess adds fuzzy query
(with a low boost value) to the default term query, causing results with similar
phrases to appear as well. (see codelibs#2503)
(For example, searching "plawright" with no quotes will also display results
 for "playwright")

However, if the user indicates that they only want results with that phrase
(e.g. by searching "plawright" with double-quotes), fuzzy search results
will also appear.

If the user's query contains double-quotes around terms, this patch will prevent
fuzzy query from being applied to the default term query object.
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

1 participant