Re: Duplicates removal in search results

2006-12-14 Thread Bhavin Pandya
Hi qaz, You can remove duplicates at search time by writing your own HitCollector... - Bhavin pandya - Original Message - From: "qaz zaq" <[EMAIL PROTECTED]> To: Sent: Friday, December 15, 2006 1:01 AM Subject: Duplicates removal in search results How can i remov

Re: Duplicates removal in search results

2006-12-14 Thread qaz zaq
t way. - Original Message From: Erick Erickson <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Thursday, December 14, 2006 5:49:01 PM Subject: Re: Duplicates removal in search results you need to search for all documents with the title you care about, decide which one to keep and

Duplicates removal in search results

2006-12-14 Thread qaz zaq
How can i remove the duplicates records in the search results. i.e., I have multiple results with the same title in 'title' field, and I want to only 1 record per title, how can I achieve that? thanks!! Need

Re: Duplicates removal in search results

2006-12-14 Thread Erick Erickson
you need to search for all documents with the title you care about, decide which one to keep and remove all the others. You'll probably need a TermDocs/TermEnum to go through all the items in your index to create the list of documents to remove. Erick On 12/14/06, qaz zaq <[EMAIL PROTECTED]> wr

Duplicates removal in search results

2006-12-14 Thread qaz zaq
How can i remove the duplicates records in the search results. i.e., I have multiple results with the same title in 'title' field, and I want to only 1 record per title, how can I achieve that? thanks!! - Everyone is raving about the all-new Yahoo! Mail beta.