htsearch(1)

htsearch1

Create document index and word database for the ht://dig search engine

Usage

htsearch [options] [query_string]

Overview

Htsearch is used to sift through the databases created by htdig for content. It is the actual search engine of the htdig search system. It is a CGI program that is expected to be invoked by an HTML form. It will accept both the GET and POST methods of passing data to the CGI program.

Options

query_string A CGI-style query string can be given as a single argument, and is only used if the REQUEST_METHOD environment variable is not set. If no query_string is given, and REQUEST_METHOD is not set, htsearch will prompt for the query. -c configfile Use the specified configfile instead of the default (for security reasons this option is only available when htsearch is used on the command line). -v -d Run in verbose mode. This increases the verbosity of the program. Using more than 2 is probably only useful for debugging purposes. The default verbose mode gives a progress on what it is doing and where it is.

Files

/etc/htdig/htdig.conf The default configuration file. /etc/htdig/header.html The default search results header file /etc/htdig/footer.html The default search results footer file /etc/htdig/wrapper.html The default search results wrapper file, that contains the header and footer together in one file /etc/htdig/nomatch.html The default 'no matches found' HTML file /etc/htdig/syntax.html The default file that explains boolean expression syntax errors

Releases

12 releases since Debian 3.0 (Woody); the text changed 3 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0–13

-c until Debian 3.1 (Sarge); -d until Debian 3.1 (Sarge); -v until Debian 3.1 (Sarge).

Author

This manual page was written by Stijn de Bekker and updated by Robert Ribnitz. It is based on the HTML documentation of ht://Dig.

From htdig 1:3.2.0b6-21 in Debian 13 (Trixie). Parsed by carta from the page's man source.