You can enable that by QueryParser.setAllowLeadingWildcard( true )
On Mon, Dec 28, 2009 at 2:46 AM, liujb <[email protected]> wrote: > > oh,my god, > > Query Parser Syntax > > CANNOT use a * or ? symbol as the first character of a search. > > that's mean I can't wrinte a search string like '*test'. this will be cause a > great restriction to use lucence. > but ,that's a really a important search scene. > > can you give me some advice on this problem. > > tks. > > > owind. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
