[
https://issues.apache.org/jira/browse/LUCENE-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Favre updated LUCENE-3332:
----------------------------------
Attachment: UsingCombinationAndFallback.patch
Flattens a MultiPhraseQuery into multiple PhraseQuerys by generating all the
term combinations (can be costly).
And
Implementing a simple fallback creating TermQuerys for each Term gotten via
Query.extractTerms().
This gives basic highlighter for any type of query, though some may throw an
UnsupportedOperationException.
> FastVectorHighlighter ignores MultiPhraseQuery (and more)
> ---------------------------------------------------------
>
> Key: LUCENE-3332
> URL: https://issues.apache.org/jira/browse/LUCENE-3332
> Project: Lucene - Java
> Issue Type: Bug
> Components: modules/highlighter
> Affects Versions: 3.3, 4.0
> Environment: Tested against Lucene trunk revision 1149488 (4.0), but
> seen under Lucene 3.3 (tested through ElasticSearch 0.17.1, but the code is
> clear: this version, and surely other prior (3.1-3.2) are impacted)
> Reporter: Olivier Favre
> Priority: Minor
> Labels: highlighting
> Attachments: TestMultiPhraseQueryHighlighting.java,
> UsingCombinationAndFallback.patch, UsingFallback.patch
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> Similar to LUCENE-495.
> Create a MultiPhraseQuery, use FastVectorHighlighter, you'll have no fragment.
> Using PhraseQuery and/or Highlighter works, but not the previous combination.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]