lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5538) FastVectorHighlighter fails with booleans of phrases
Date Wed, 19 Mar 2014 01:39:45 GMT


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

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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message