Usage and Syntax

Usage

swish-e -p title -f SWISH_INDEX -w KEYWORDS -m MAX_RESULTS

  usage: swish [-i dir file ... ] [-S system] [-c file] [-f file] [-l] [-v (num)]
         swish -w word1 word2 ... [-f file1 file2 ...] [-p prop1 ...] [-s sortprop] [-m num] [-t str] [-d delim]
         swish -M index1 index2 ... outputfile
         swish -D file
         swish -V

options: defaults are in brackets
         -S : specify which indexing system to use.
              Valid options are:
              "fs" - index local files in your File System
              "http" - index web site files using a web crawler
              The default value is: "fs"
         -i : create an index from the specified files
         -w : search for words "word1 word2 ..."
         -t : tags to search in - specify as a string
              "HBthec" - in head, body, title, header,
              emphasized, comments
         -f : index file to create or search from [index.swish-e]
         -c : configuration file to use for indexing
         -v : verbosity level (0 to 3) [3]
         -l : follow symbolic links when indexing
         -b : begin results at this number
         -m : the maximum number of results to return [500]
         -M : merges index files
         -D : decodes an index file
         -p : include these document properties in the output "prop1 prop2 ..."
         -s : sort by these document properties in the output "prop1 prop2 ..."
         -d : next param is delimiter. use "-d dq" to use a double quote
         -V : prints the current version

version: 2.0
   docs: http://sunsite.berkeley.edu/SWISH-E/

Search String Syntax

search example 1: john and doe or jane
search example 2: john and (doe or jane)
search example 3: not (john or jane) and doe
search example 4: j* and doe

.

[ my Home - SWISH-E Off. Home ]