FAQ
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 26 | next ›
Discussion Overview
groupdev @
categorieslucene
postedDec 6, '09 at 11:31p
activeDec 11, '09 at 1:25p
posts26
users1
websitelucene.apache.org

1 user in discussion

Uwe Schindler (JIRA): 26 posts

People

Translate

site design / logo © 2021 Grokbase