htsearch(1)

✨ NAME ✨

htsearch β€” bestie, this is the one that creates the document index and word database for the ht://Dig search engine. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

htsearch [options] [query_string]

πŸ’… DESCRIPTION πŸ’…

okay so htsearch is the girly that sifts through all the databases that htdig made, looking for actual content. she IS the search engine of the htdig search system, like she's the main character fr fr. πŸ”₯

she's a CGI program, which means she's expecting an HTML form to hit her up β€” she doesn't just show up uninvited. and she's flexible, periodt: she accepts both the GET and POST methods of passing data to the CGI program. πŸ’–


🌸 OPTIONS 🌸

  • query_string β€” a CGI-style query string can be handed over as a single argument, and it's only used if the REQUEST_METHOD environment variable is not set. and if you give her no query_string and REQUEST_METHOD isn't set either? she'll literally just prompt you for the query. 🫢
  • -c configfile β€” use the configfile you specify instead of the default one. but ngl, for security reasons this option is only available when htsearch is used on the command line. πŸ”’
  • -v -d β€” run in verbose mode, bestie. 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. 🧠

🌈 SEE ALSO 🌈

please please please refer to the HTML pages (in the htdig-doc package) at /usr/share/doc/htdig-doc/html/index.html, plus the manual pages htdig(1) and htmerge(1) for a detailed description of ht://Dig and its commands. iykyk, they go deeper than this page does. πŸ“š


πŸ‘‘ 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. iconic behaviour honestly. πŸ’œ


and that's the whole vibe, bestie β€” this page dropped on 6 October 2001 as part of the htsearch(1) manual, and it still ate. go search something. πŸ’…βœ¨