lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.harig" <>
Subject Re: singular and plural search
Date Wed, 21 Oct 2009 13:06:22 GMT

thanks erick ,

A little more information would help here.1> Are you using the same analyzer
at both index and query time?

 no . sorry , am using StandardAnalyzer at the index time , during querying
am using the code snippet found from nabble.

2> Assuming <1> is "yes", did you re-index your data after you created this


3> What are the results of query.toString()? Looking at that might help you
pinpoint what's going on.

am getting singular word for all field.

4> Have you examined your index using Luke to see if it has what you *think*
it should?

yes , i did it , it also returns the same

5> If all of the above doesn't do you any good, I've usually found that
writing a small, self-contained test case to illustrate the problem is a
great help. Usually, during the course of writing the test case I find the
problem. And it's usually in my code <G>. And if it's *not* in my code, a
test case provides the Lucene folks with something to work with.

sorry , am not clear with this.

The analyzer itself looks like it should do what you want on a cursory


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message