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