[
https://issues.apache.org/jira/browse/LUCENE-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-2123:
----------------------------------
Description:
As FuzzyQuery does not allow to change the rewrite mode, highlighter fails with
UOE in flex since LUCENE-2110, because it changes the rewrite mode to Boolean
query. The fix is: Allow MTQ to change rewrite method and make FUZZY_REWRITE
public for that.
was:
As FuzzyQuery does not allow to change the rewrite mode, highlighter fails with
UOE, because it changes the rewrite mode to Boolean query. There are two
possibilities to fix it:
- Allow MTQ to change rewrite method and for this to work port the patch from
LUCENE-2110 (flex branch) to trunk/2.9/3.0, that provides a FUZZY_REWRITE
method, that would be the default fro Fuzzy but can be changed to any other
method.
- if instanceof FuzzyQuery do not try to change rewritemode, as FuzzyQuery
rewrites to BooleanQuery/TermQuery always.
Affects Version/s: (was: 2.9.1)
(was: 3.0)
Flex Branch
Fix Version/s: Flex Branch
> Highlighter fails to highlight FuzzyQuery
> -----------------------------------------
>
> Key: LUCENE-2123
> URL: https://issues.apache.org/jira/browse/LUCENE-2123
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/highlighter
> Affects Versions: Flex Branch
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: Flex Branch
>
>
> As FuzzyQuery does not allow to change the rewrite mode, highlighter fails
> with UOE in flex since LUCENE-2110, because it changes the rewrite mode to
> Boolean query. The fix is: Allow MTQ to change rewrite method and make
> FUZZY_REWRITE public for that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]