1htsearch(1) General Commands Manual htsearch(1)
2
3
4
6 htsearch - create document index and word database for the ht://Dig
7 search engine
8
10 htsearch [options] [query_string]
11
13 Htsearch is used to search in de databases created by htdig for con‐
14 tent. is the actual search engine of the htdig search system. It is a
15 CGI program that is expected to be invoked by an HTML form. It will
16 accept both the GET and POST methods of passing data to the CGI pro‐
17 gram.
18
20 query_string
21 A CGI-style query string can be given as a single argument, and
22 is only used if the REQUEST_METHOD environment variable is not
23 set. If no query_string is given, and REQUEST_METHOD is not
24 set, htsearch will prompt for the query.
25
26 -c configfile
27 Use the specified configfile instead of the default (for secu‐
28 rity reasons this option is only available when htsearch is used
29 on the commandline).
30
31 -v -d Run in verbose mode. This increases the verbosity of the pro‐
32 gram. Using more than 2 is probably only useful for debugging
33 purposes. The default verbose mode gives a progress on what it
34 is doing and where it is.
35
37 /etc/htdig/htdig.conf
38 The default configuration file.
39
40 /var/www/html/htdig/header.html
41 The default search results header file
42
43 /var/www/html/htdig/footer.html
44 The default search results footer file
45
46 /var/www/html/htdig/wrapper.html
47 The default search results wrapper file, that contains the
48 header and footer together in one file
49
50 /var/www/html/htdig/nomatch.html
51 The default 'no matches found' HTML file
52
53 /var/www/html/htdig/syntax.html
54 The default file that explains boolean expression syntax errors
55
57 Please refer to the HTML pages (in the htdig-doc package)
58 /usr/share/doc/htdig-doc/html/index.html and the manual pages htdig(1)
59 and htmerge(1) for a detailed description of ht://Dig and its commands.
60
62 This manual page was written by Stijn de Bekker, based on the HTML doc‐
63 umentation of ht://Dig.
64
65
66
67 6 October 2001 htsearch(1)