lucene-dev mailing list archives

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

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

Michael Busch commented on LUCENE-1792:
---------------------------------------

The new patch applies cleanly on trunk now. However, I'm getting this junit failure now:

{noformat}
    [junit] Testcase: testQueryValidator(org.apache.lucene.queryParser.spans.TestSpanQueryParser):
FAILED
    [junit] QueryNodeException was expected, wildcard queries should not be supported
    [junit] junit.framework.AssertionFailedError: QueryNodeException was expected, wildcard
queries should not be supported
    [junit] 	at org.apache.lucene.queryParser.spans.TestSpanQueryParser.testQueryValidator(TestSpanQueryParser.java:177)
    [junit] Test org.apache.lucene.queryParser.spans.TestSpanQueryParser FAILED
{noformat}

> 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 Busch
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1792.patch, LUCENE-1792.patch, LUCENE-1792_update_v1.patch,
removal_of_wildcard_and_prefix_detection_from_the_syntaxparser.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