> From: Erick Erickson <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Tuesday, June 24, 2008 9:26:03 AM
> Subject: Re: uniqueWords, and termDocs
>
> Isn't asking for unique words (actually tokens) equivalent to enumerating
> all the terms in a fie
Isn't asking for unique words (actually tokens) equivalent to enumerating
all the terms in a field?
I have no idea how to select a random word. Seems like you'd have to
somehow use a TermEnum, but I don't think there's anything built in.
Best
Erick
On Mon, Jun 23, 2008 at 6:03 PM, Cam Bazz <[EMA
Hello,
I need to be able to select a random word out of all the words in my index.
how can I do this tru termDocs() ?
Also, I need to get a list of unique words as well. Is there a way to ask
this to lucene?
Best Regards,
-C.B.