lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julie Tibshirani (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5929) Standard highlighting doesn't work for ToParentBlockJoinQuery
Date Wed, 10 Sep 2014 04:41:28 GMT


Julie Tibshirani updated LUCENE-5929:
    Priority: Critical  (was: Major)

> Standard highlighting doesn't work for ToParentBlockJoinQuery
> -------------------------------------------------------------
>                 Key: LUCENE-5929
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>            Reporter: Julie Tibshirani
>            Priority: Critical
>         Attachments: HighligherTest.patch, LUCENE-5929.patch
> Because WeightedSpanTermExtractor#extract doesn't check for ToParentBlockJoinQuery, the
Highlighter class fails to produce highlights for this type of query.
> At first it may seem like there's no issue, because ToParentBlockJoinQuery only returns
parent documents, while the highlighting applies to children. But if a client can directly
supply the text from child documents (as elasticsearch does if _source is enabled), then highlighting
will unexpectedly fail.
> A test case that triggers the bug is attached. The same issue exists for ToChildBlockJoinQuery.

This message was sent by Atlassian JIRA

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

View raw message