You can also get stringindex of the class field, for access to the
field info without the need of accessing the document in hits.

You can implement a custom collector and get the unique values in that.

On 5/30/07, karl wettin <[EMAIL PROTECTED]> wrote:

30 maj 2007 kl. 10.51 skrev Laxmilal Menaria:
>> > What's the problem with a hit list iteration ( it should be
>> > very fast  )  ?
>

> Thats okay for short index, But if index have millions of records
> or GB's
> data then it will get slow .

Iterate only the top n results when you gather the unique values. If
you get a million hits, ask the user to narrow down the search a bit.

Searching the forum archives for facets or faceted classification
might also be helpful.



--
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to