DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7710>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7710

Wildcard query only accepts 1 or more characters for prefixes (not 0 or more)

           Summary: Wildcard query only accepts 1 or more characters for
                    prefixes (not 0 or more)
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Search
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using the WildcardQuery class to do a wildcard search with the wildcard at
the end of the string, the wildcard is treated as "1 or more" characters. This
is inconsistent with other wildcard behaviour, and undesirable. The correct
behaviour is for the wildcard to represent 0 or more characters.

The error is due to a problem in the wildcard comparison method in
org.apache.lucene.search.WildcardTermEnum.

Patch to follow.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to