lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: [lucy-user] Hits offset and search performarce
Date Wed, 14 Nov 2012 06:52:42 GMT
On Tue, Nov 13, 2012 at 8:42 PM, Peter Karman <peter@peknet.com> wrote:

> Lucy pre-sorts field values at index time, using a different approach than
> Swish-e. But the idea is the same: pre-sorted field values are faster to return
> at search time. IIRC, the pre-sorting is done when you call optimize() on an
> Indexer. (Marvin, please correct my poor memory if I'm wrong there.)

Since you insist: to pick a nit it's prepare_commit() -- called implicitly by
commit() -- rather than optimize(). (The presorting happens with every segment
write.)

Marvin Humphrey

Mime
View raw message