[ https://issues.apache.org/jira/browse/LUCENE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764321#comment-13764321 ]
ASF subversion and git services commented on LUCENE-26: ------------------------------------------------------- Commit 1521851 from [~vajda] in branch 'pylucene/trunk' [ https://svn.apache.org/r1521851 ] fixed bug PYLUCENE-26 (Martin Anon) > Wildcard query only accepts 1 or more characters for prefixes (not 0 or more) > ----------------------------------------------------------------------------- > > Key: LUCENE-26 > URL: https://issues.apache.org/jira/browse/LUCENE-26 > Project: Lucene - Core > Issue Type: Bug > Components: core/search > Environment: Operating System: Linux > Platform: PC > Reporter: Lee Mallabone > Assignee: Lucene Developers > Attachments: ASF.LICENSE.NOT.GRANTED--WildcardTermEnum.java.diff, > ASF.LICENSE.NOT.GRANTED--WildcardTest.java > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org