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

Uwe Schindler commented on LUCENE-2123:
---------------------------------------

bq. Could we make FuzzyRewrite a subclass of BooleanQueryRewriteMethod and add 
a simple check like 

The problem is that also ConstantScoreBooleanRewrite subclasses 
BooleanQueryRewriteMethod.

bq. Yet another thing, you throw unsupportedOperationException in 
FuzzyQuery#setRewriteMethod, we should at least document in MTQ that this is an 
optional operation. Something like

This issue will remove this an make FUZZY_REWRITE public and maybe move to MTQ 
(because it is also useful for other boosting term lists to only put the 
highest ranking erms into the BQ). The name could be something like 
HIGHEST_SCORING_BOOLEAN_QUERY_REWRITE (brr).

> 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to