lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Alves (JIRA)" <>
Subject [jira] Updated: (LUCENE-1792) new QueryParser fails to set AUTO REWRITE for multi-term queries
Date Sat, 15 Aug 2009 02:40:14 GMT


Luis Alves updated LUCENE-1792:

    Attachment: removal_of_wildcard_and_prefix_detection_from_the_syntaxparser.patch

- add the, it was missing from trunk
- change the _TERM_START_CHAR to allow "?" and "*" inside the StandartSyntaxParser.jj
- remove wildcard and prefix detection from the StandartSyntaxParser, this is now done in
a processor for terms and quoted strings.
- PrefixWildcardQueryNode and WildcardQueryNode moved to standart.nodes.* package
- new WildcardQueryNodeProcessor that replaces PrefixWildcardQueryNodeProcessor, to implement
the wildcard logic that was in the .jj file.

One escape testcase is still failing I'll look at that tomorrow.

Mike is you have time please review it, this code does not contain your patch,
I did it on the latest trunk

> new QueryParser fails to set AUTO REWRITE for multi-term queries
> ----------------------------------------------------------------
>                 Key: LUCENE-1792
>                 URL:
>             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, 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:
For additional commands, e-mail:

View raw message