is there any way to find unique records ?

2006-11-21 Thread Bhavin Pandya
Hi, In lucene, is there any way to find only unique records from a single field ..? otherwise unnecessary i have to itereate through Hits and find out unique... plz help.. - Bhavin pandya

Re: is there any way to find unique records ?

2006-11-21 Thread Steven Rowe
u > should find lots of discussions on this topic. > > : Date: Tue, 21 Nov 2006 20:30:22 +0530 > : From: Bhavin Pandya <[EMAIL PROTECTED]> > : Reply-To: java-user@lucene.apache.org, Bhavin Pandya <[EMAIL PROTECTED]> > : To: java-user@lucene.apache.org > : Subject: Re: is

Re: is there any way to find unique records ?

2006-11-21 Thread Erick Erickson
which is relevant to "nokia"... How to . . ? Thanks - Bhavin pandya ----- Original Message ----- From: "Erick Erickson" <[EMAIL PROTECTED]> To: ; "Bhavin Pandya" <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2006 7:01 PM Subject: Re: is there any way to fin

Re: is there any way to find unique records ?

2006-11-21 Thread Erick Erickson
I don't think I understand what "only unique records from a single field" means. If it's a unique value in a filed, there'll only be one document in the hits object and there's no cost to iterating, so I doubt that's what you mean. If your asking for a list of all the unique values for a particu

Re: is there any way to find unique records ?

2006-11-21 Thread Chris Hostetter
L PROTECTED]> : To: java-user@lucene.apache.org : Subject: Re: is there any way to find unique records ? : : Hi Erick, : : > If your asking for a list of all the unique values for a particular field, : > see TermDocs and/or TermEnum which will allow you to look at, say, all the : > values

Re: is there any way to find unique records ?

2006-11-21 Thread Bhavin Pandya
index...But i want enumeration of all the document which is relevant to "nokia"... How to . . ? Thanks - Bhavin pandya - Original Message - From: "Erick Erickson" <[EMAIL PROTECTED]> To: ; "Bhavin Pandya" <[EMAIL PROTECTED]> Sent: Tuesday, November

Re: is there any way to find unique records ?

2006-11-22 Thread Bhavin Pandya
the document which is in index...But i want enumeration of all the document which is relevant to "nokia"... How to . . ? Thanks - Bhavin pandya - Original Message - From: "Erick Erickson" <[EMAIL PROTECTED]> To: ; "Bhavin Pandya" <[EMAIL PROTECTED]>