[Xapian-discuss] Xapian performance

Fernando Nemec fernando.nemec at folha.com.br
Tue Oct 31 18:18:37 GMT 2006


Olly,

Thanks for your reply for my three messages. I'm going to code the
modifications you advice me to do and post my results here back soon.

Nemec



Sunday, October 29, 2006, 11:01:13 PM, you wrote:

> On Sun, Oct 29, 2006 at 03:30:37PM -0300, Fernando Nemec wrote:
>> Is there any performance increase if I gzip a document's data before I
>> index it?

> Assuming you're doing the standard "do a search and show 10 or so
> mathches at a time", it's likely to reduce disk cache pressure a little
> so it'll be more likely that the postlists and values you want are
> cached and won't have to be read from disk so it should speed things
> up a little.

> There's actually a patch to do this already - look for the "zlib"
> patches here (one for flint, one for quartz):

> http://www.oligarchy.co.uk/xapian/patches/

> These allow you to compress tags in any table, but record is probably
> the most useful.  Instructions are here:

> http://article.gmane.org/gmane.comp.search.xapian.general/1323

> Cheers,
>     Olly

--
[]s
Fernando Nemec
fernando.nemec at folha.com.br
http://www.folha.com.br/





More information about the Xapian-discuss mailing list