j  � ht://Dig: htmerge � 0  

htmerge



W ht://Dig Copyright © 1995-2002 The ht://Dig Group
8 Please see the file COPYING for license information.






Synopsis



 htmerge [options]





 Description



5 Htmerge is used to create a document index and word. database from the files that were created byB htdig. These databases are then used by? htsearch to perform the actual searched.





Options





 -a

6 Use alternate work files. Tells htdig to append 8 .work to database files, causing a second copy of5 the database to be built. This allows the original8 files to be used by htsearch during the indexing run.

 -c configfile

6 Use the specified configuration file instead of the default.

 -d

1 Prevent the document index from being created.

 -m merge_configfile

4 Merge the databases specified by merge_configfile5 into the databases specified by -c or the default.4 To use multiple databases, you will need a config6 file for each database. Then each file will set the8 database_dir or7 database_base4 attribute to change the name of the databases, so2 they are in different directories or files.
7 Note: You must run htmerge1 separately on each of the databases created by5 htdig before merging them5 together with this option. This is because merging5 the two wordlists together requires wordlists that+ have already been cleaned up by htmerge.

 -s

9 Print statistics about the document and word databases after htmerge has finished.

 -v

: Run in verbose mode. This will provide some hints as to5 the progress of the merge. This can be useful when1 running htmerge interactively since some parts: (especially the word database creation) can take a very long time.

 -w

0 Prevent the word database from being created.

: In addition to the command line options, the environment6 variable TMPDIR will be used to designate the: directory where intermediate files are stored during the sorting process.
= The LOCALE or LC_COLLATE environment variable: may also affect the sorting process, so it's wise to set? LC_COLLATE=C before running htmerge to avoidA having the wordlist sorted in an unexpected collating sequence.





Files





 /usr/local/etc/htdig.conf

" The default configuration file.







See Also



! htdig,8 htsearch and5 Configuration file format.


, Last modified: $Date: 2002/01/27 05:33:20 $ ÿÿ