[Xapian-discuss] Size of spelling database ?

Fabrice Colin fabrice.colin at gmail.com
Thu Nov 8 11:11:06 GMT 2007


Hi all,

On Nov 5, 2007 1:45 AM, Olly Betts <olly at survex.com> wrote:
> There's a (post-1.0.4) fix in SVN for failing to handle user meta-data
> (which is stored in the postlist table).
>
> Looks like xapian-compact needs updating for user meta-data too - I'll
> take a look.
>
> > The last line is printed in a seemingly infinite loop.
>
> That's also fixed in SVN.
>
I tried a source snapshot (SVN 9657) and got the following :

$ xapian-check db_with_spelling/spelling.DB
baseA blocksize=8K items=603348 lastblock=30861 revision=109 levels=2 root=437
B-tree checked okay
spelling table: Don't know how to check structure

No errors found

$ xapian-check db_with_spelling/postlist.DB
baseB blocksize=8K items=925148 lastblock=24529 revision=109 levels=2 root=6
B-tree checked okay
Extra bytes after key for first chunk of posting list for term `'
Extra bytes after key for first chunk of posting list for term `'
postlist table errors found: 2

$ xapian-compact db_with_spelling db_with_spelling_compact
postlist ...xapian-compact: DatabaseCorruptError: Bad postlist key

User meta-data is indeed used in this database.

Fabrice



More information about the Xapian-discuss mailing list