Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
8.4.1
-
None
-
None
Description
I found some problem in highlighting module. Not all the search terms are getting highlighted.
Sample query: q=
{!complexphrase+inOrder=true}"pos1 (pos2 OR pos3)"~30&hl=true
Indexed text: "pos1 pos2 pos3 pos4"
You can see that only two terms are highlighted like, "<em>pos1</em> <em>pos2</em> pos3 pos4"
Please find attached Not-highlighted-response screen shot for same.
The scenario is when term positions are in-order in document and query both.
If term position not in-order then it work proper
Sample query: q=
"pos3 (pos1 OR pos2)"~30&hl=true
You can see that all three term are highlighted like, "<em>pos1</em> <em>pos2</em> <em>pos3</em> pos4"
Please find attached Highlighted-response screen shot for same.
The scenario is same in Solr source code since long time (I have checked in Solr version 4 to version 7).
Attachments
Attachments
Issue Links
- is blocked by
-
LUCENE-7398 Nested Span Queries are buggy
- Open