You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a hard time improving the Elastic results. I use simple_query_string (#17) when the user has a special character to enable powerful search, and I use multi_match with phrase_prefix as a default.
The results are okay for on word queries, but when multiple words are used in one query, it doesn't seem to use the OR operator correctly, resulting in fewer hits for sentences, instead of more.
My reasoning for the above query:
Multi_match because I want to search across multiple fields.
phrase_prefix because I want to hit "watertekort" when I search for "water"
OR operator because it should use the OR operator between words.
The bool_prefix type seems reasonable, but we're running 7.0 and that doesn't support it.
The text was updated successfully, but these errors were encountered:
I'm having a hard time improving the Elastic results. I use simple_query_string (#17) when the user has a special character to enable powerful search, and I use multi_match with phrase_prefix as a default.
The results are okay for on word queries, but when multiple words are used in one query, it doesn't seem to use the
OR
operator correctly, resulting in fewer hits for sentences, instead of more.My reasoning for the above query:
Multi_match
because I want to search across multiplefields
.phrase_prefix
because I want to hit "watertekort" when I search for "water"OR
operator because it should use the OR operator between words.bool_prefix
type seems reasonable, but we're running 7.0 and that doesn't support it.The text was updated successfully, but these errors were encountered: