RE: SQL DISTINCT functionality in Lucene

2006-02-23 Thread Hugh Ross
Many Thanks. Hugh -Original Message- From: Michael D. Curtin [mailto:[EMAIL PROTECTED] Sent: 23 February 2006 17:39 To: java-user@lucene.apache.org Subject: Re: SQL DISTINCT functionality in Lucene Hugh Ross wrote: > I need to find all distinct values for a keyword field in a Luc

Re: SQL DISTINCT functionality in Lucene

2006-02-23 Thread Michael D. Curtin
Hugh Ross wrote: I need to find all distinct values for a keyword field in a Lucene index. I think the IndexReader.terms() method will do what you want. Good luck! --MDC - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

SQL DISTINCT functionality in Lucene

2006-02-23 Thread Hugh Ross
Hi, I need to find all distinct values for a keyword field in a Lucene index. Is this easily done? If so how? Many thanks, Hugh