lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: "Contains" query parsed to PrefixQuery
Date Tue, 12 Jun 2007 00:03:17 GMT

: 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message