lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schrader" <>
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();

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:   <>
For additional commands, e-mail: <>

View raw message