lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Could positions/payloads in SegmentMerger be copied directly?
Date Tue, 23 Sep 2008 18:26:18 GMT

Paul Elschot wrote:

> So, adding a document offset from the  documents/frequencies
> into the positions/payloads for each document would allow:
> -  bulk copying of the position/payloads during merging, and
> -  a more efficient implementation of TermPositions.skipTo()
>   in that decoding the positions from the last available skip
>   document to the target of skipTo() could be avoided.
> Is that correct?

Yes, though this would also add cost of computing/writing/reading that  
new offset, and would increase the index size.

> That would indeed be invasive.

Yes.  I think our time would likely be better spent working on using  
PForDelta for freq/prox.


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

View raw message