lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wang <>
Subject FieldCache and Sort
Date Wed, 01 Jun 2005 19:08:45 GMT

   In the current Lucene sorting implementation, FieldCache is used to
retrieve 2 arrays, the lookup array and the order array. The order
array at load time stores the position of the term in the lookup
array. The lookup array is already sorted because it is read in from
the index.

   My question is that since the order array contains all the
information on the order of the terms, why do we keep it around in
memory? Can we implement a SortComparator that is more memory

Just and idea



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message