Torsten Neuer (email@example.com)
Thu, 14 Oct 1999 16:30:17 +0200
Geoff Hutchison wrote:
> >values for compression_level and what compression can be estimated?
> compression_level is a parameter to the zlib compression library.
> Like gzip, it expects values from 0 (no compression) to 9 (work hard
> to compress).
> One thing to note about using 8 or 9 is that it doesn't always
> compress more than something like 6. The higher values will form more
> complex compression rules, but often the space required to store the
> rules will offset the compression gains. :-(
> In your case, I wouldn't expect a whole lot of compression. A 7MB
> database quite frankly is at the small end and there isn't much to
> work with.
In addition to that, AFAIK only the document content is compressed,
not the entire database. So if only the document headers are indexed,
compression will gain nothing at all. On the other hand, if you have
pages ~30K of text size and do a complete index, the size of db.docdb
will be reduced significantly; but only db.docdb - nothing else.
I think it is misunderstood quite often, that ht://Dig's compression
will work on all portions of the search database (soundex, metaphone,
word indices etc). This is not the case.
-- InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH Waldhofstraße 14 Tel: +49-4101-403605 D-25474 Ellerbek Fax: +49-4101-403606 E-Mail: firstname.lastname@example.org Internet: http://www.inwise.de
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com containing the single word unsubscribe in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Sat Oct 23 1999 - 09:48:11 PDT