Thanks a lot. I'm such a fool BTW, where can I find better doc other than javadoc ? Or how do you get into lucene docs ? I'm really a little crazy reading javadoc, all concepts are split into fragments.
2009/11/9 AHMET ARSLAN <iori...@yahoo.com>: >> Hi all, >> I want to query part of a digital string: >> say indexed token is "123456789" >> I want to query 56789 to match this token >> The "Query Parser Syntax" says wildcard search can not >> be the first char. So "*56789" is not allowed >> How can I do that ? >> Thanks. > > With org.apache.lucene.queryParser.QueryParser's > > void setAllowLeadingWildcard(boolean allowLeadingWildcard) > Set to true to allow leading wildcard characters. > > method. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Best Regards, ZHAO, Wenbo ======================= --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org