| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title> |
| 5 |
ht://Dig: htmerge |
| 6 |
</title> |
| 7 |
</head> |
| 8 |
<body bgcolor="#eef7ff"> |
| 9 |
<h1> |
| 10 |
htmerge |
| 11 |
</h1> |
| 12 |
<p> |
| 13 |
ht://Dig Copyright © 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br> |
| 14 |
Please see the file <a href="COPYING">COPYING</a> for |
| 15 |
license information. |
| 16 |
</p> |
| 17 |
<hr size="4" noshade> |
| 18 |
<dl> |
| 19 |
<dd> |
| 20 |
<h2> |
| 21 |
Synopsis |
| 22 |
</h2> |
| 23 |
</dd> |
| 24 |
<dd> |
| 25 |
htmerge [<em>options</em>] |
| 26 |
</dd> |
| 27 |
</dl> |
| 28 |
<dl> |
| 29 |
<dd> |
| 30 |
<h2> |
| 31 |
Description |
| 32 |
</h2> |
| 33 |
</dd> |
| 34 |
<dd> |
| 35 |
Htmerge is used to create a document index and word |
| 36 |
database from the files that were created by |
| 37 |
<a href="htdig.html">htdig</a>. These databases are then used by |
| 38 |
<a href="htsearch.html" target="_top">htsearch</a> to perform |
| 39 |
the actual searched. |
| 40 |
</dd> |
| 41 |
</dl> |
| 42 |
<dl> |
| 43 |
<dd> |
| 44 |
<h2> |
| 45 |
Options |
| 46 |
</h2> |
| 47 |
</dd> |
| 48 |
<dd> |
| 49 |
<dl compact> |
| 50 |
<dt> |
| 51 |
-a |
| 52 |
</dt> |
| 53 |
<dd> |
| 54 |
Use alternate work files. Tells htdig to append <em> |
| 55 |
.work</em> to database files, causing a second copy of |
| 56 |
the database to be built. This allows the original |
| 57 |
files to be used by htsearch during the indexing run. |
| 58 |
</dd> |
| 59 |
<dt> |
| 60 |
-c <em>configfile</em> |
| 61 |
</dt> |
| 62 |
<dd> |
| 63 |
Use the specified configuration file instead of the |
| 64 |
default. |
| 65 |
</dd> |
| 66 |
<dt> |
| 67 |
-d |
| 68 |
</dt> |
| 69 |
<dd> |
| 70 |
Prevent the document index from being created. |
| 71 |
</dd> |
| 72 |
<dt> |
| 73 |
-m <em>merge_configfile</em> |
| 74 |
</dt> |
| 75 |
<dd> |
| 76 |
Merge the databases specified by merge_configfile |
| 77 |
into the databases specified by -c or the default. |
| 78 |
You will need a separate config file for each of |
| 79 |
the two databases. Then each file will set the |
| 80 |
<a href="attrs.html#database_dir">database_dir</a> or |
| 81 |
<a href="attrs.html#database_base">database_base</a> |
| 82 |
attribute to change the name of the databases, so |
| 83 |
they are in different directories or files.<br> |
| 84 |
<strong>Note:</strong> You <em>must</em> run htmerge |
| 85 |
separately on each of the databases created by |
| 86 |
<a href="htdig.html">htdig</a> before merging them |
| 87 |
together with this option. This is because merging |
| 88 |
the two wordlists together requires wordlists that |
| 89 |
have already been cleaned up by htmerge. |
| 90 |
Because the -m option allows you to specify only |
| 91 |
one database to be merged into the other, and only |
| 92 |
one -m option may be specified, if you need to merge |
| 93 |
three or more databases together you must run htmerge |
| 94 |
multiple times with the -m option. |
| 95 |
</dd> |
| 96 |
<dt> |
| 97 |
-s |
| 98 |
</dt> |
| 99 |
<dd> |
| 100 |
Print statistics about the document and word databases |
| 101 |
after htmerge has finished. |
| 102 |
</dd> |
| 103 |
<dt> |
| 104 |
-v |
| 105 |
</dt> |
| 106 |
<dd> |
| 107 |
Run in verbose mode. This will provide some hints as to |
| 108 |
the progress of the merge. This can be useful when |
| 109 |
running htmerge interactively since some parts |
| 110 |
(especially the word database creation) can take a very |
| 111 |
long time. |
| 112 |
</dd> |
| 113 |
<dt> |
| 114 |
-w |
| 115 |
</dt> |
| 116 |
<dd> |
| 117 |
Prevent the word database from being created. |
| 118 |
</dd> |
| 119 |
</dl> |
| 120 |
In addition to the command line options, the environment |
| 121 |
variable <strong>TMPDIR</strong> will be used to designate the |
| 122 |
directory where intermediate files are stored during the |
| 123 |
sorting process. |
| 124 |
</dd> |
| 125 |
</dl> |
| 126 |
<dl> |
| 127 |
<dd> |
| 128 |
<h2> |
| 129 |
Files |
| 130 |
</h2> |
| 131 |
</dd> |
| 132 |
<dd> |
| 133 |
<dl> |
| 134 |
<dt> |
| 135 |
<a href="attrs.html#config_dir">CONFIG_DIR</a>/htdig.conf |
| 136 |
</dt> |
| 137 |
<dd> |
| 138 |
The default configuration file. |
| 139 |
</dd> |
| 140 |
</dl> |
| 141 |
</dd> |
| 142 |
</dl> |
| 143 |
<dl> |
| 144 |
<dd> |
| 145 |
<h2> |
| 146 |
See Also |
| 147 |
</h2> |
| 148 |
</dd> |
| 149 |
<dd> |
| 150 |
<a href="htdig.html">htdig</a>, |
| 151 |
<a href="htsearch.html" target="_top">htsearch</a> and |
| 152 |
<a href="attrs.html">Configuration file format</a>. |
| 153 |
</dd> |
| 154 |
</dl> |
| 155 |
<hr size="4" noshade> |
| 156 |
|
| 157 |
Last modified: $Date: 2004/06/12 13:39:13 $ |
| 158 |
|
| 159 |
</body> |
| 160 |
</html> |