lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7417) Highlighting fails for MultiPhraseQuery's with one clause
Date Fri, 09 Sep 2016 14:37:20 GMT


ASF subversion and git services commented on LUCENE-7417:

Commit 514bb1bbc19be939b2e23be3a1d647342b60945f in lucene-solr's branch refs/heads/branch_6x
from [~dsmiley]
[;h=514bb1b ]

LUCENE-7417: Highlighter WSTE didn't handle single-term MultiPhraseQuery.
Also updated to Java 5 for-each in this method.

(cherry picked from commit 3966f99)

> Highlighting fails for MultiPhraseQuery's with one clause
> ---------------------------------------------------------
>                 Key: LUCENE-7417
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>    Affects Versions: 5.2.1, 5.x, 5.5.2
>            Reporter: Thomas Kappler
>            Assignee: David Smiley
>         Attachments: multiphrasequery_singleclause_highlighting.patch
> This bug is the same issue as LUCENE-7231, just for MultiPhraseQuery instead of PhraseQuery.
The fix is the same as well. To reproduce, change the test that was committed for LUCENE-7231
to use a MultiPhraseQuery. It results in the same error
> {{java.lang.IllegalArgumentException: Less than 2 subSpans.size():1}}
> I have a patch including a test against branch_5.x, it just needs to go through legal
before I can post it.

This message was sent by Atlassian JIRA

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

View raw message