lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Created: (LUCENE-2262) QueryParser should now allow leading '?' wildcards
Date Sat, 13 Feb 2010 19:26:27 GMT
QueryParser should now allow leading '?' wildcards

                 Key: LUCENE-2262
             Project: Lucene - Java
          Issue Type: Improvement
          Components: QueryParser
    Affects Versions: Flex Branch
            Reporter: Robert Muir
            Assignee: Robert Muir
            Priority: Minor
             Fix For: Flex Branch

QueryParser currently throws an exception if a wildcard term begins with the ? operator.

The docs say this:
When set, * or ? are allowed as the first character of a PrefixQuery and WildcardQuery.
Note that this can produce very slow queries on big indexes. 

In the flex branch, this is no longer true. foo?, ?foo, f?oo, these are all the same from
a performance perspective.

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