Arsal Jalib created SOLR-17080:
----------------------------------

             Summary: Solr highlights terms that part of the query even though 
they dont match the actually query
                 Key: SOLR-17080
                 URL: https://issues.apache.org/jira/browse/SOLR-17080
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.11.2
         Environment: The collection has 16 shards and request handler is 
edismax

 "hl.snippets":"10"

The rest are defaults
            Reporter: Arsal Jalib


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 

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)

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to