You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/01/04 15:51:44 UTC

[jira] Commented: (LUCENE-524) Current implementation of fuzzy and wildcard queries inappropriately implemented as Boolean query rewrites

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

Mark Miller commented on LUCENE-524:
------------------------------------

This patch is getting old and the code base has changed in this area. Would you like to submit another patch Randy? If not, I'd like to close this issue.

(be sure to remove the Java 1.5 code if you update the patch)

> Current implementation of fuzzy and wildcard queries inappropriately implemented as Boolean query rewrites
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-524
>                 URL: https://issues.apache.org/jira/browse/LUCENE-524
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 1.9
>            Reporter: Randy Puttick
>            Priority: Minor
>         Attachments: MultiTermQuery.java, MultiTermScorer.java
>
>
> The implementation of MultiTermQuery in terms of BooleanQuery introduces several problems:
> 1) Collisions with maximum clause limit on boolean queries which throws an exception.  This is most problematic because it is difficult to ascertain in advance how many terms a fuzzy query or wildcard query might involve.
> 2) The boolean disjunctive scoring is not appropriate for either fuzzy or wildcard queries.  In effect the score is divided by the number of terms in the query which has nothing to do with the relevancy of the results.
> 3) Performance of disjunctive boolean queries for large term sets is quite sub-optimal

-- 
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