lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferenczi Jim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7575) UnifiedHighlighter: add requireFieldMatch=false support
Date Mon, 05 Dec 2016 22:35:58 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723586#comment-15723586
] 

Ferenczi Jim commented on LUCENE-7575:
--------------------------------------

{quote}
I was thinking a bit more about the wastefulness of re-creating SpanQueries with different
field that are otherwise identical. Some day we could refactor out from WSTE a Query ->
SpanQuery conversion utility that furthermore allows you to re-target the field. With that
in place, we could avoid the waste for PhraseQuery and MultiPhraseQuery – the most typical
position-sensitive queries.
{quote}

I agree, I'll work on this shortly. Thanks for the hint ;)

> UnifiedHighlighter: add requireFieldMatch=false support
> -------------------------------------------------------
>
>                 Key: LUCENE-7575
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7575
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 6.4
>
>         Attachments: LUCENE-7575.patch, LUCENE-7575.patch, LUCENE-7575.patch
>
>
> The UnifiedHighlighter (like the PostingsHighlighter) only supports highlighting queries
for the same fields that are being highlighted.  The original Highlighter and FVH support
loosening this, AKA requireFieldMatch=false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message