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

ASF subversion and git services commented on LUCENE-5415:
---------------------------------------------------------

Commit 1563180 from [~mikemccand] in branch 'dev/branches/lucene5376'
[ https://svn.apache.org/r1563180 ]

LUCENE-5415,LUCENE-5376: get MultiTermQuery highlighting working; fix 
compilation errors

> Support wildcard & co in PostingsHighlighter
> --------------------------------------------
>
>                 Key: LUCENE-5415
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5415
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: Robert Muir
>             Fix For: 5.0, 4.7
>
>         Attachments: LUCENE-5415.patch, LUCENE-5415.patch, LUCENE-5415.patch, 
> LUCENE-5415.patch, LUCENE-5415.patch
>
>
> PostingsHighlighter uses the offsets encoded in the postings lists for the 
> terms to find query matches.
> As such, it isn't really suitable for stuff like wildcards for two reasons:
> 1. an expensive rewrite against the term dictionary (i think other 
> highlighters share this problem)
> 2. accumulating data from potentially many terms (e.g. reading many postings)
> However, we could provide an option for some of these queries to work, but in 
> a different way, that avoids these downsides.
> Instead we can just grab the Automaton representation of the queries, and 
> match it against the content directly (which won't blow up).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to