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
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
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
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
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
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
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]>