[Xapian-discuss] Fwd: Re: what is the fastest way to fetch results which are sorted by timestamp ?

Olly Betts olly at survex.com
Thu Sep 1 13:42:38 BST 2011


On Fri, Aug 12, 2011 at 02:20:33PM +0800, ????????? wrote:
> On Thu, Aug 11, 2011 at 7:20 PM, Richard Boulton <richard at tartarus.org>wrote:
> 
> > The relevant ticket is http://trac.xapian.org/ticket/52
> >
> > There's a very old patch attached to that ticket; it won't apply to
> > current xapian code, but might be possible to bring up-to-date without
> > too much difficulty.
> 
> This is very helpful for us.
> 
> But I found the patch is for quartz backend, but the recent database is
> chert.
> I know nothing with the database details. :-(
> 
> I wonder if I have to switch to a old xapian version.

That's probably not a good plan - there are numerous speedups since
the versions which supported quartz, and chert is significantly more
compact that quartz was.  So even if you sped up this case a bit,
you'll be slower in other cases.

The patch hasn't seen much testing either.

Cheers,
    Olly



More information about the Xapian-discuss mailing list