htload (1) - Linux Man Pages
htload: reads in an ASCII-text version of the document database
htload - reads in an ASCII-text version of the document database
DESCRIPTIONHtload reads in an ASCII-text version of the document database in the same form as the -t option of htdig and htdump. Note that this will overwrite data in your databases, so this should be used with great care.
- Use alternate work files. Tells htload to append .work to database files, allowing it to operate on a second set of databases.
- -c configfile
- Use the specified configfile instead of the default.
- Initial. Do not use any old databases. This is accomplished by first erasing the databases.
- Verbose mode. This doesn't have much effect.
- Document Database
- Each line in the file starts with the document id followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below:
- State (0 = normal, 1 = not found, 2 = not indexed, 3 = obsolete)
- Last modification time as reported by the server
- Size in bytes
- Meta description
- Time of last retrieval
- Count of the links in the document (outgoing links)
- Count of the links to the document (incoming links or backlinks)
- HopCount of this document
- Signature of the document used for duplicate-detection
- E-mail address to use for a notification message from htnotify
- Date to send out a notification e-mail message
- Subject for a notification e-mail message
- The text of links pointing to this document. (e.g. <a href="docURL">description</a>)
- Anchors in the document (i.e. <A NAME=...)
- Word Database
- While htdump and htload don't deal with the word database directly, it's worth mentioning it here because you need to deal with it when copying the ASCII databases from one system to another. The initial word database produced by htdig is already in ASCII format, and a binary version of it is produced by htmerge, for use by htsearch. So, when you copy over the ASCII version of the document database produced by htdump, you need to copy over the wordlist as well, then run htload to make the binary document database on the target system, followed by running htmerge to make the word index.
- Each line in the word list file starts with the word
- followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below, with the last two being optional:
- Document ID
- Location of word in document (1 to 1000)
- Weight of word based on scoring factors
- Count of word's appearances in document, if more than 1
- Anchor number if word occurred after a named anchor
- The default configuration file.
- The default ASCII document database file.
- The default ASCII word database file.
AUTHORThis manual page was written by Stijn de Bekker, based on the HTML documentation of ht://Dig.