Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Emit warning when using fuzziness parameter for cross_fields query type of multi_match query #7764
I was using the cross_fields query type with the fuzzyness parameter and got unexpected results. While fuzziness is not documented for cross_fields it is accepted and then leads to strange results. It would be nice to emit a warning in this case (and perhaps add an explicit warning to the documentation). Even better would be the possibility to use fuzziness with cross_fields, see #6866.
Relates to #10217
A warning or parse error should also be thrown when trying to use an array instead of a string as search query:
Produce a search with "yolo" only:
As it is accepted without warnings, users expect this to work, but only the last entry of the array is used which is very strange.