|
NAMEmifluzsearch - search the content of an inverted index.SYNOPSIS
mifluzsearch -f words [options]
DESCRIPTIONmifluzsearch searches a mifluz index for documents matching a Alt*Vista expression (simple syntax). The result of the search is output on the standard output.SEARCH SYNTAXThe search syntax uses a + to indicate a mandatory word, a - to indicated a forbiden word and double quotes (") to specify a literal.OPTIONS
CONFIGURATION FILE
RESULTSHere is a sample text result:match: <UNDEF> <UNDEF> 0 5 <UNDEF> (world the proximity) match: <UNDEF> <UNDEF> 0 21 <UNDEF> (world the proximity) match: <UNDEF> <UNDEF> 0 51 <UNDEF> (world the proximity) match: <UNDEF> <UNDEF> 0 81 <UNDEF> (world the proximity) count: 100 time: 20 base: 0 words: the an world Here is a sample xml result (provided the -x option was given): <?xml version="1.0" encoding="ISO-8859-1" ?> <searchresults> <match><document>0 5 </document><info>world the proximity</info></match> <match><document>0 21 </document><info>world the proximity</info></match> <match><document>0 51 </document><info>world the proximity</info></match> <match><document>0 81 </document><info>world the proximity</info></match> <count>100</count> <time>30</time> <words> <verbatim>the an world </verbatim> <unaccent>the an world </unaccent> </words> <base>0</base> </searchresults>
CGIEach option may be given in the QUERY_STRING environment variable so that mifluzsearch can be used as a cgi-bin instead of a line command. The options are processed in the order in which they appear in QUERY_STRING.
QUERY_STRING='v=1&f=a+word&M=/etc/mifluz.conf' mifluzsearch
is strictly equivalent to
mifluzsearch -v -f 'a word' -M /etc/mifluz.conf
DEBUGDebugging information interpretation. A cursor is open in the index for every word and they are stored in a list. The list of cursors is always processed in the same order, as a single link list. With -v, each block is an individual action on behalf of the word shown on the first line. The last line of the block is the conclusion of the action described in the block. REDO means the same cursor must be examined again because the conditions have changed. RESTART means we go back to the first cursor in the list because it may not match the new conditions anymore. NEXT means the cursor and all the cursors before it match the conditions and we may proceed to the next cursor. ATEND means the cursor cannot match the conditions because it is at the end of the index.ENVIRONMENTQUERY_STRING options are extracted from QUERY_STRING in a CGI like fashion.MIFLUZ_CONFIG file name of configuration file read by WordContext(3). Defaults to ~/.mifluz. AUTHORSLoic Dachary loic@gnu.orgThe Ht://Dig group http://dev.htdig.org/ SEE ALSOhtdb_dump(1), htdb_stat(1), htdb_load(1), mifluzdump(1), mifluzload(1), mifluzdict(1), WordContext(3), WordList(3), WordDict(3), WordListOne(3), WordKey(3), WordKeyInfo(3), WordType(3), WordDBInfo(3), WordRecordInfo(3), WordRecord(3), WordReference(3), WordCursor(3), WordCursorOne(3), WordMonitor(3), Configuration(3), mifluz(3)
Visit the GSP FreeBSD Man Page Interface. |