[
https://issues.apache.org/jira/browse/LUCENE-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427360#comment-13427360
]
Robert Muir commented on LUCENE-4282:
-------------------------------------
I will think about this one more: the patch is correct for 'edits' but the
scoring
becomes crazy. this is because of the historical behavior of this query.
Just try porting Uwe's test to 3.6 and you will see what I mean :)
I think its too tricky for the query in core (and used by spellchecker) to also
be the base for the SlowFuzzyQuery which is supposed to mimic the old crazy
behavior.
> Automaton Fuzzy Query doesn't deliver all results
> -------------------------------------------------
>
> Key: LUCENE-4282
> URL: https://issues.apache.org/jira/browse/LUCENE-4282
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Affects Versions: 4.0-ALPHA
> Reporter: Johannes Christen
> Assignee: Robert Muir
> Labels: newbie
> Attachments: LUCENE-4282-tests.patch, LUCENE-4282.patch,
> ModifiedFuzzyTermsEnum.java, ModifiedFuzzyTermsEnum.java
>
>
> Having a small index with n documents where each document has one of the
> following terms:
> WEBER, WEBE, WEB, WBR, WE, (and some more)
> The new FuzzyQuery (Automaton) with maxEdits=2 only delivers the expected
> terms WEBER and WEBE in the rewritten query. The expected terms WEB and WBR
> which have an edit distance of 2 as well are missing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]