Check out QueryParser.setAllowLeadingWildcard(): <http://lucene.apache.org/java/docs/api/org/apache/lucene/queryParser/QueryParser.html#setAllowLeadingWildcard(boolean)>
(though AFAICT this feature is not in any released version of Lucene yet - you'll have to use a nightly build). poeta simbolista wrote: > Hi guys, > I have been through the docs and I can't see why the parser does not parse > this correctly: > > description:*sql > > is not correct: > > Lexical error at line 1, column 16. Encountered: "*" (42), after : "" > > However, the following: > > description: sql* > > is correct. > Any idea why you can't use wildcard there? > Cheers > D --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]