XAPIAN-QUEST(1)
π NAME π
xapian-quest β the Xapian command line search tool, and yes bestie, that's literally the whole vibe: it's a search tool, it lives in your terminal, it's giving main character energy. π¦
So this page is the XAPIAN-QUEST(1) manual, from the User Commands corner of the manpage universe, and I'm gonna walk you through every single flag because I am obsessed with not skipping anything. β¨
πΈ SYNOPSIS πΈ
xapian-quest [OPTIONS] 'QUERY'
That's it. Options, then your query. Put the query last, jellybean. π
π DESCRIPTION π
xapian-quest β Xapian command line search tool. Same line as the NAME section because that's just how this page rolls, no cap.
NB: QUERY should be quoted to protect it from the shell. Like, actually quoted. Single quotes are your bestie here. If you don't quote it, the shell will eat your query alive and you'll be left standing there like π β so please, for me, wrap it. π
π OPTIONS π
Every single one, in order, nothing skipped. Slay. π₯
-d,--db=DIRECTORYβ the database to search. And plot twist: you can specify multiple databases, so go ahead and be greedy, queen. π-m,--msize=MSIZEβ maximum number of matches to return. Basically, how many results you're willing to handle.-c,--check-at-least=HOWMANYβ minimum number of matches to check. Yes, it's a minimum. There's a max and there's a min, they're different, don't mix them up. π-s,--stemmer=LANGβ set the stemming language. Default isenglish. Passnoneto disable stemming entirely (go off, no stemming era π). Valid stemmers, all of them, here we go:arabic,armenian,basque,catalan,danish,dutch,dutch_porter,earlyenglish,english,esperanto,estonian,finnish,french,german,greek,hindi,hungarian,indonesian,irish,italian,lithuanian,lovins,nepali,norwegian,polish,porter,portuguese,romanian,russian,serbian,spanish,swedish,tamil,turkish,yiddish-S,--stem-strategy=STRATEGYβ set the stemming strategy. Default:some. Valid strategies:all,all_z,none,some,some_full_pos. (Yes there's anonestrategy and anonestemmer. They are different things. I know. I know. π )-p,--prefix=PFX:TERMPFXβ add a prefix. Format is literallyPFX:TERMPFX, colon and all. π«Ά-b,--boolean-prefix=PFX:TERMPFXβ add a boolean prefix. SamePFX:TERMPFXshape, but boolean-flavoured.-f,--flags=FLAG1[,FLAG2]...β specify QueryParser flags. Default:default. Comma-separate them if you want more than one, okay? Valid flags, all 21 of them:accumulate,auto_multiword_synonyms,auto_synonyms,boolean,boolean_any_case,cjk_ngram,default,fuzzy,lovehate,ngrams,no_positions,no_proper_noun_heuristic,partial,phrase,pure_not,spelling_correction,synonym,wildcard,wildcard_glob,wildcard_multi,wildcard_single,word_breaks-o,--default-op=OPβ specify the QueryParser default operator. Default:or. Valid operators:and,elite_set,max,near,or,phrase,synonym.-w,--weight=SCHEMEβ specify the weighting scheme to use. Here's the fun part: it can include parameters, like this:
--weight='bm25 1 0 0 1 0'
Default: bm25. Stars, all of them. β
-F,--freqsβ show query term frequencies. Little peek at what the terms are actually doing. π-h,--helpβ display this help and exit. The classic.-v,--versionβ output version information and exit. Also the classic.
π§ a lil sign-off π§
That's the whole page, bestie β this one came from xapian-core 2.0.0, dated March 2026, and it was a moment. π Go quote your queries, go search your databases, go be iconic. π¦β¨π
If you forget to quote your QUERY and everything explodes, that's not on me, that's on the shell. π π
π¦ 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