I'm using 2.1.0 and I'm calling setAllowLeadingWildcard(true) first on my QueryParser instance. I'm using a PerFieldAnalyzerWrapper where the field of interest uses the WhiteSpaceAnalyzer.
-Terry hossman_lucene wrote: > > > : gets parsed to the PrefixQuery *abc. I did enable the leading wildcard > in > : the QueryParser to allow the query above to be parsed so I'm wondering > is > > are you sure you called setAllowLeadingWildcard(true) first? > > Are you using using 1.9 or earlier ... if so are you calling the > static parse(String,String,Analyzer) instance? it doesn't know anything > about hte other settings you can set on instances of QueryParser. > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%22Contains%22-query-parsed-to-PrefixQuery-tf3904234.html#a11071008 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]