XAPIAN-CHECK(1)
β¨ NAME β¨ (XAPIAN-CHECK(1), from the User Commands manual)
Okay bestie, this is xapian-check β the tool that checks the consistency of a database or table. No cap, that's literally its whole thing. π
π¦ SYNOPSIS π¦
xapian-check DATABASE_DIRECTORY|PATH_TO_BTREE [[F][t][f][b][v][+]]
You give it a DATABASE_DIRECTORY or a PATH_TO_BTREE, then optionally some little combo from [[F][t][f][b][v][+]]. π
π DESCRIPTION π
xapian-check checks the consistency of a database or table. Yes, it's very much giving "I check consistency" and we love that for it. πβ¨
If a whole database is checked, then additional cross-checks between the tables are performed. So when you point it at the entire database, it also does extra cross-checks between the tables. π₯
π³ The btree(s) is/are always checked - control the output verbosity with:
Fβ attempt to fix a broken database (implemented forglasscurrently) π οΈtβ short tree printing π±fβ full tree printing π³bβ show free blocks π§±vβ show stats about B-tree (default) π+β same astbvβ¨
Like, for example:
xapian-check /var/lib/xapian/data/default
xapian-check /var/lib/xapian/data/default/postlist fbv
π okay bye bestie β this iconic page is from xapian-core 2.0.0, March 2026. periodt. π
π¦ where this page comes from
- alpine 3.24: xapian-core-doc 2.0.0-r0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms