Re: duplicate results MultiFieldQueryParser

2006-06-07 Thread varun sood
yeah you are right. I was talking about going through the large index and discovering the problem as to where else it have occured and how? But thanks for your tips. I use Luke before and certianly it helped me this time aswell. I found the problem. Its not great Lucene. Its me.. error in underst

Re: duplicate results MultiFieldQueryParser

2006-06-05 Thread Erick Erickson
Even if the index is huge, you should be able to open it in Luke and submit a search just like the one that's giving you trouble, and then examine the documents. Yes, it'll take a while to open the index, but not an outrageous amount of time... unless you run out of memory or something. Best Eric

Re: duplicate results MultiFieldQueryParser

2006-06-05 Thread varun sood
On 6/5/06, Erick Erickson <[EMAIL PROTECTED]> wrote: A few thoughts... 1> are you sure you only indexed the document once? If you indexed the same data multiple times, you'll have duplicate documents, each of which will have a different Lucene ID (i.e. doc()). Yes.. but I will make sure agai

Re: duplicate results MultiFieldQueryParser

2006-06-05 Thread Erick Erickson
A few thoughts... 1> are you sure you only indexed the document once? If you indexed the same data multiple times, you'll have duplicate documents, each of which will have a different Lucene ID (i.e. doc()). 2> have you examined your index with, say, Luke? I've found that a wonderful tool for se

duplicate results MultiFieldQueryParser

2006-06-05 Thread varun sood
Hi, I am searching two fields at a time and using MultiFieldQueryParser to parse my query (method described in In Action book). I noticed that I am getting duplicate results. The document exists only once in the index structure but in results its showing the same doucment multiple times with same