Re: singular and plural search

2009-10-21 Thread Matthew Hall
If I recall correctly the highlighter also has an analyzer passed to it. Ensure that this is the same one as well. Matt m.harig wrote: Thanks erick , It works fine , if i use the (code snippet found from nabble) same analyzer for both indexing & querying . But the highlighter has gone f

Re: singular and plural search

2009-10-21 Thread m.harig
Thanks erick , It works fine , if i use the (code snippet found from nabble) same analyzer for both indexing & querying . But the highlighter has gone for plural words. Hope i need to search more , i'll come back to you once if i can't find out. Thanks again erick. -- View this message in

Re: singular and plural search

2009-10-21 Thread m.harig
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

Re: singular and plural search

2009-10-21 Thread Erick Erickson
A little more information would help here.1> Are you using the same analyzer at both index and query time? 2> Assuming <1> is "yes", did you re-index your data after you created this analyzer? 3> What are the results of query.toString()? Looking at that might help you pinpoint what's going on. 4> H