[
https://issues.apache.org/jira/browse/LUCENE-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-5538:
--------------------------------
Attachment: LUCENE-5538.patch
Here's a patch I'm testing (all tests seem to pass, but I will see if i can add
some better ones).
FieldTermStack is ordered by position, but the current code doesn't really
handle position increments of 0 (synonyms). In this case when we reach a
dead-end (nextMap == null), we keep looking as long as the incoming position is
the same until we find a match.
> FastVectorHighlighter fails with booleans of phrases
> ----------------------------------------------------
>
> Key: LUCENE-5538
> URL: https://issues.apache.org/jira/browse/LUCENE-5538
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/highlighter
> Reporter: Robert Muir
> Attachments: LUCENE-5538.patch, LUCENE-5538_test.patch
>
>
> in some situations a query of (P1 OR PQ) returns no results, even though
> individually, both P1 or P2 by themselves will highlight correctly..
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]