On 4/5/06, Artem Vasiliev <[EMAIL PROTECTED]> wrote:
> The int[] array here contains references to String[] and to populate
> it still all the field values need to be loaded and compared/sorted

Terms are stored and iterated in sorted order, so no sorting needs to be done.
It's still the case that all the terms for that field need to be
iterated over though.

Another approach might be to store term vectors and retrieve the term
only from documents matching a particular query.  It might be slower
per query, but wouldn't have the overhead of populating the int[]

-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server

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

Reply via email to