lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Alves (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1792) new QueryParser fails to set AUTO REWRITE for multi-term queries
Date Fri, 14 Aug 2009 18:31:14 GMT

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

Luis Alves commented on LUCENE-1792:
------------------------------------

I never liked wildcard and prefixwildcard inplementation in the StandartSyntaxParser.

We could remove the creation of WildcardQueryNode and PrefixWildcardQueryNode,
from the StandardSyntaxParser and produce regular FieldQueryNode instead.

Since we use UnescapedCharSequence in the FieldQueryNode values.
We can identify the wildcards in the Processors and have one simple
processor that converts FieldQueryNode to StandardWildcardQueryNode and to StandardPrefixWildcardQueryNode,
and we can remove WildcardQueryNode and PrefixWildcardQueryNode from the core.

What do you guys think.?

> new QueryParser fails to set AUTO REWRITE for multi-term queries
> ----------------------------------------------------------------
>
>                 Key: LUCENE-1792
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1792
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>    Affects Versions: 2.9
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1792.patch, LUCENE-1792.patch
>
>
> The old QueryParser defaults to constant score rewrite for Prefix,Fuzzy,Wildcard,TermRangeQuery,
but the new one seems not to.

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


Mime
View raw message