Field is highlighted although not matching enough clauses with minimum_should_match #28626
Labels
discuss
:Search Relevance/Highlighting
How a query matched a document
:Search/Search
Search-related issues that do not fall into other categories
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Elasticsearch version (
bin/elasticsearch --version
):Version: 6.1.3, Build: af51318/2018-01-26T18:22:55.523Z, JVM: 1.8.0_151
Plugins installed: []
OS version (
uname -a
if on a Unix-like system):Linux ubuntu 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
While issuing a query on a field using a match query with minimum_should_match parameter
the field is highlighted in the results although there aren't enough clauses for the field to match.
Steps to reproduce:
no results
the result: field1 is highlighted. the expected result: field1 should not be highlighted.
The text was updated successfully, but these errors were encountered: