Re: FieldCache and Sort

2005-06-06 Thread Yonik Seeley
Why do we keep the lookup array around? The actual field value is needed to sort results from multiple searchers (multisearcher). -Yonik On 6/1/05, John Wang <[EMAIL PROTECTED]> wrote: > Hi: > >In the current Lucene sorting implementation, FieldCache is used to > retrieve 2 arrays, the looku

FieldCache and Sort

2005-06-01 Thread John Wang
Hi: 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 ques