[ http://issues.apache.org/jira/browse/LUCENE-489?page=all ]
Daniel Naber updated LUCENE-489: -------------------------------- Attachment: qp.diff I wrote this patch that let's users enable the leading wildcard using a method call. It applies to 1.9, but if someone wants to test it and clean it up (so it applies to 2.0) I'd commit it. > Allow QP subclasses to support Wildcard Queries with leading "*" > ---------------------------------------------------------------- > > Key: LUCENE-489 > URL: http://issues.apache.org/jira/browse/LUCENE-489 > Project: Lucene - Java > Type: Wish > Components: QueryParser > Reporter: Peter Schäfer > Attachments: qp.diff > > It would be usefull for some users if the logic that prevents QueryParser > from creating WIldcardQueries with leading wildcard characters ("?" or "*") > be moved from the grammer into the base implimentation of getWildcardQuery so > that it may be overridden in subclasses without needing to modifiy the > grammer directly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]