[Xapian-discuss] Size of spelling database ?

Olly Betts olly at survex.com
Sun Nov 4 06:35:55 GMT 2007


On Sun, Nov 04, 2007 at 02:24:52PM +0800, Fabrice Colin wrote:
> Do prefixed terms contribute to the spelling database too ? For instance,
> terms like Tmime_type Uuri and XDIR:/directory/name etc...

Only if you pass them to WritableDatabase::add_spelling().

And the TermGenerator class only adds spelling entries for unprefixed
terms (at least at the moment).

> What should I try to diagnose this ?

If you run xapian-check on just the spelling table in question, it'll
tell you some statistics about the table:

xapian-check /path/to/spelling.DB

It would also be interesting to see how much smaller it gets when run
through xapian-compact.

Cheers,
    Olly



More information about the Xapian-discuss mailing list