.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .TH OMINDEX "1" "June 2012" "xapian-omega 1.2.12" "User Commands" .SH NAME omindex \- Index static website data via the filesystem .SH SYNOPSIS .B omindex [\fIOPTIONS\fR] \fI--db DATABASE \fR[\fIBASEDIR\fR] \fIDIRECTORY\fR .SH DESCRIPTION omindex \- Index static website data via the filesystem .PP DIRECTORY is the directory to start indexing from. .PP BASEDIR is the directory corresponding to URL (default: DIRECTORY). .SH OPTIONS .TP \fB\-d\fR, \fB\-\-duplicates\fR set duplicate handling ('ignore' or 'replace') .TP \fB\-p\fR, \fB\-\-no\-delete\fR skip the deletion of documents corresponding to deleted files (\fB\-\-preserve\-nonduplicates\fR is a deprecated alias for \fB\-\-no\-delete\fR) .TP \fB\-e\fR, \fB\-\-empty\-docs\fR=\fIARG\fR how to handle documents we extract no text from: ARG can be index, warn (issue a diagnostic and index), or skip. (default: warn) .TP \fB\-D\fR, \fB\-\-db\fR=\fIDATABASE\fR path to database to use .TP \fB\-U\fR, \fB\-\-url\fR=\fIURL\fR base url BASEDIR corresponds to (default: /) .TP \fB\-M\fR, \fB\-\-mime\-type\fR=\fIEXT\fR:TYPE map file extension EXT to MIME Content\-Type TYPE (empty TYPE removes any MIME mapping for EXT) .TP \fB\-F\fR, \fB\-\-filter\fR=\fITYPE\fR:CMD process files with MIME Content\-Type TYPE using command CMD, which should produce UTF\-8 text on stdout e.g. \fB\-Fapplication\fR/octet\-stream:'strings \fB\-n8\fR' .TP \fB\-l\fR, \fB\-\-depth\-limit\fR=\fILIMIT\fR set recursion limit (0 = unlimited) .TP \fB\-f\fR, \fB\-\-follow\fR follow symbolic links .TP \fB\-i\fR, \fB\-\-ignore\-exclusions\fR ignore meta robots tags and similar exclusions .TP \fB\-S\fR, \fB\-\-spelling\fR index data for spelling correction .TP \fB\-m\fR, \fB\-\-max\-size\fR maximum size of file to index (in bytes or with a suffix of 'K'/'k', 'M'/'m', 'G'/'g') .TP \fB\-E\fR, \fB\-\-sample\-size\fR=\fISIZE\fR sets the maximum number of bytes for the document text sample. (default SIZE = 512) .TP \fB\-v\fR, \fB\-\-verbose\fR show more information about what is happening .TP \fB\-\-overwrite\fR create the database anew (the default is to update if the database already exists) .TP \fB\-s\fR, \fB\-\-stemmer\fR=\fILANG\fR set the stemming language, the default is 'english'. Possible values: danish dutch english finnish french german german2 hungarian italian kraaij_pohlmann lovins norwegian porter portuguese romanian russian spanish swedish turkish (pass 'none' to disable stemming) .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .PP Please report bugs at: http://xapian.org/bugs