Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
8.11.2
-
None
-
None
-
The collection has 16 shards and request handler is edismax
"hl.snippets":"10"
The rest are defaults
Description
Take and example query like so:
Term1 OR (Term2 AND Term3)
And we have the following document index that has the following text in the "body" field
"he was born in Term1 and then he moved to Term3"
Now if we search with highlighting enabled on "body", we get Term1, Term2 and Term3 highlighted as part of the response
The Term2 should not be highlighted for this document. Only Term1 should highlighted as the document matched on Term1 and did not on (Term2 and Term3)