OMINDEX(1)
OMINDEX(1) β Index static website data via the filesystem π β¨
okay bestie, welcome to the OMINDEX(1) manual page from the User Commands section. This is the whole vibe: static website data gets indexed via the filesystem. No cap. Letβs get into it. π«Ά
NAME π
omindex β Index static website data via the filesystem. literally the main character of this page. π
SYNOPSIS β¨
omindex [OPTIONS] --db DATABASE [BASEDIR] DIRECTORY
DESCRIPTION π¦
omindex indexes static website data via the filesystem. Thatβs the mission, and it ate. π
DIRECTORY is the directory to start indexing from. Yes, that one. Start there. πΈ
BASEDIR is the directory corresponding to URL (default: DIRECTORY). So if you donβt pass it, it lowkey assumes DIRECTORY. Cute.
OPTIONS β¨π
-d,--duplicates=ARGβ set duplicate handling:ARGcan be'ignore'or'replace'(default:replace). dupes handled, periodt. π-p,--no-deleteβ skip the deletion of documents corresponding to deleted files. no cleanup era, weβre keeping them. π-e,--empty-docs=ARGβ how to handle documents we extract no text from:ARGcan beindex,warn(issue a diagnostic and index), orskip. (default:warn). so yes,warnliterally throws a diagnostic and still indexes. iconic. π-D,--db=DATABASEβ path to database to use. your database, your rules. ποΈ-U,--url=URLβ base urlBASEDIRcorresponds to (default:/). yes, that base url. π«-M,--mime-type=EXT:TYPEβ assume any file with extensionEXThas MIME Content-TypeTYPE, instead of using libmagic (emptyTYPEremoves any existing mapping forEXT; other specialTYPEvalues:'ignore'and'skip'). big MIME energy. π₯-G,--mime-type-match=GLOB:TYPEβ assume any file with leaf name matching shell wildcard patternGLOBhas MIME Content-TypeTYPE(specialTYPEvalues:'ignore'and'skip'). glob girlies rise. π-F,--filter=M[,[T][,C]]:CMDβ process files with MIME Content-TypeMusing commandCMD, which produces output (on stdout or in a temporary file) with formatT(Content-Type or file extension; currentlytxt(default),htmlorsvg) in character encodingC(default:UTF-8). E.g.-Fapplication/octet-stream:'|strings -n8'or-Ftext/x-foo,,utf-16:'foo2utf16 %f %t'. filters are the moment. π-W,--worker=TYPE:WORKERβ process files with MIME Content-TypeTYPEusing worker sub-processWORKER.WORKERis the name of the program to run to start the worker. If it has no path then itβs looked for inpkglibbindir(which can be overridden by setting environment variableXAPIAN_OMEGA_PKGLIBBINDIR). This invocation will look in:/usr/local/lib/xapian-omega/bin. worker bee behavior, honestly. π--read-filters=FILEβ bulk-load--filterarguments fromFILE, which should contain one such argument per line (e.g.text/x-bar:bar2txt --utf8). Lines starting with#are treated as comments and ignored. bulk-loading? yes bestie. π--read-workers=FILEβ bulk-load--workerarguments fromFILE, which should contain one such argument per line (e.g.text/x-bar:omindex_libbar). Lines starting with#are treated as comments and ignored. worker bulk-load, slay. β-l,--depth-limit=LIMITβ set recursion limit (0= unlimited). go deep or donβt. π-f,--followβ follow symbolic links. follow them like a loyal bestie. π«Ά-i,--ignore-exclusionsβ ignore meta robots tags and similar exclusions. not today, exclusions. π-S,--spellingβ index data for spelling correction. spelling era activated. βοΈ-m,--max-size=N[SUFFIX]β maximum size of file to index (in bytes or with a suffix of'K'/'k','M'/'m','G'/'g') (default: unlimited). big files? maybe not. π--sample=SOURCEβ what to use for the stored sample of text for HTML documents -SOURCEcan be'body'or'description'(default:'body'). body or description, choose your fighter. π§-E,--sample-size=SIZEβ maximum size for the document text sample (supports the same formats as--max-size). (default:512). sample size matters, bestie. π-T,--title-size=SIZEβ maximum size for the document title (supports the same formats as--max-size). (default:128). title girlies have a limit. π-R,--retry-failedβ retry files whichomindexfailed to extract text from on a previous run. second chance arc. π--opendir-sleep=SECSβ sleep forSECSseconds before opening each directory - sleeping for 2 seconds seems to reliably work around problems with indexing files on Microsoft DFS shares. yes, literally sleep on it. π΄-C,--track-ctimeβ track each fileβsctimeso we can detect changes to ownership or permissions. ctime tracking, no cap. π΅οΈ--date-termsβ indexD,MandYprefixed terms to support date range filtering using terms (we now recommend using a value slot for this instead). retro but noted. π--no-date-termsβ ignored for compatibility with Omega 1.4.x. itβs giving legacy compatibility. π«-v,--verboseβ show more information about what is happening. tell me everything. π£οΈ--overwriteβ create the database anew (the default is to update if the database already exists). fresh start or update era. π-s,--stemmer=LANGβ set the stemming language (default:english). Possible values: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(pass'none'to disable stemming). stemmer buffet, honestly. π½οΈ-h,--helpβ display this help and exit. help is there when you need it. π-V,--versionβ output version information and exit. version check, periodt. π«
Please report bugs at: https://xapian.org/bugs
k bye bestie β this iconic page was brought to you by xapian-omega 2.0.0, dated March 2026, and itβs the OMINDEX(1) manual. slay π
β¨
π¦ where this page comes from
- alpine 3.24: xapian-omega-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