lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schrader" <schrader.n...@evendi.de>
Subject Combining FuzzyQueries
Date Fri, 08 Mar 2002 00:03:29 GMT
I have the following problem. When I create a Fuzzyquery:
 FuzzyQuery fuzzy = new FuzzyQuery(new Term("categoryName", "test"));
and add it to a new BooleanQuery
 finalQuery = new BooleanQuery();
 finalQuery.add(fuzzy,false,false);

fuzzy1.toString("contents"); gives me 
categoryName:test~   which sounds about right
but finalQuery.toString("contents") gives me 
()~ which is missing something.
What am I missing here?

categoryName was indexed with
doc.add(Field.Keyword("categoryName", ...))

Thanks, Chris!


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message