XADUMP(1)
β¨ XADUMP β¨
okay bestie, gather round, because we're about to get deep into a Xapian index π
this is xadump, from the General Commands Manual section, and she is not like other girls β she goes straight to the bones of a Recoll index.
π NAME π
xadump β low level access to a Recoll Xapian index.
like, low level low level. we are in the basement. we are reading the raw vibes. π¦
πΈ SYNOPSIS πΈ
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -i <docid> -D
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -i <docid> -X
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -i <docid> [ -x ] -T
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -i <docid> [ -x ] -r
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -t <term> -E
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -t <term> -F
xadump [ -d <dbdir> ] [ -e <outputencoding> ] -t <term> -P
xadump -T [ -f ] [ -n ] [ -l ]
xadump -q term [term ...]
four whole moods, bestie. pick your fighter. β¨
π DESCRIPTION π
so the way that xadump works is: she's a low-level access and diagnostic tool for a Xapian index β specifically one as organized by the Recoll indexer. which index dir are we poking at? that's what option -d is for, babes. π
π«Ά the -i <docid> girlies: -D, -X, -T, -r
options -D, -X, -T and -r all take a single docid argument, and you hand her that with option -i. here's the tea on each:
-Dβ displays the document data record. like, the whole record. iconic.-Xβ deletes all index data for the document. π no cap, this one is destructive, she is not asking twice.-Tβ prints the term list for the document. and if you don't give her a docid argument? she'll list the whole index term list instead. main character energy, honestly.-fβ can be set to precede each term with its occurrence count. β οΈ only if no docid is specified, bestie. only then.-nβ can be set to omit the enclosing brackets. clean, minimal, obsessed. β¨-lβ can be set to skip prefixed terms. we're filtering, we're curating. π
-rβ prints the document text as reconstructed from index data. it's giving "the index remembers everything." π¦
π the -x moment
when option -x is set, terms are printed with each character separated by a space. lowkey chaotic to look at, highkey useful β she's great for checking some encoding issues. π
π the -t <term> girlies: -E, -F, -P
options -E, -F and -P all need a term argument, and you specify it with -t <term>. periodt.
-Eβ performs a term existence test. does it exist? vibe check complete. π₯-Fβ retrieves the term frequency for the given term. how often, bestie? she'll tell you.-Pβ displays the postings for the given term. the whole posting list, served fresh. π
π§ the -q era
with option -q, xadump performs a simple AND query on the index, using the given term arguments. simple! AND! query! she's efficient, she's focused, she ate. β
β οΈ real talk bestie:-Xdeletes all index data for the document. that's not a metaphor. that's not a vibe. that's gone. π double-check your-dbefore you type that one, fr fr.
and that's the whole page, gorgeous π xadump from the General Commands Manual, dated 18 November 2017. thanks for coming to my TED talk, now go read your index like the icon you are. π
β¨π«ΆπΈ
π¦ where this page comes from
- debian bookworm: recollcmd 1.34.3-1 Β· GPL-2.0-or-later
- debian trixie: recollcmd 1.43.0-1 Β· GPL-2.0-or-later
- fedora 43: recoll 1.43.5-6.fc43 Β· GPL-2.0-or-later
- fedora 43: recoll 1.43.5-6.fc43 Β· GPL-2.0-or-later
- nixos 26.05: recoll 1.43.9
- nixpkgs unstable: recoll 1.43.9
- ubuntu jammy: recollcmd 1.31.6-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: recollcmd 1.36.1-1build2 Β· GPL-2.0-or-later
- ubuntu questing: recollcmd 1.43.0-1build1
- ubuntu resolute: recollcmd 1.43.14-1 Β· GPL-2.0-or-later
- ubuntu stonking: recollcmd 1.43.16-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms