|
a/src/doc/man/recollindex.1 |
|
b/src/doc/man/recollindex.1 |
|
... |
|
... |
9 |
[
|
9 |
[
|
10 |
.B \-c
|
10 |
.B \-c
|
11 |
<configdir>
|
11 |
<configdir>
|
12 |
]
|
12 |
]
|
13 |
[
|
13 |
[
|
|
|
14 |
.B \-z|\-Z
|
|
|
15 |
]
|
|
|
16 |
.br
|
|
|
17 |
.B recollindex
|
|
|
18 |
[
|
14 |
.B \-z
|
19 |
.B \-c
|
|
|
20 |
<configdir>
|
15 |
]
|
21 |
]
|
16 |
[
|
|
|
17 |
.B \-m
|
22 |
.B \-m
|
18 |
]
|
|
|
19 |
[
|
23 |
[
|
20 |
.B \-w
|
24 |
.B \-w
|
21 |
<seconds>
|
25 |
<seconds>
|
22 |
]
|
26 |
]
|
23 |
[
|
27 |
[
|
24 |
.B \-D
|
28 |
.B \-D
|
25 |
]
|
29 |
]
|
26 |
[
|
30 |
[
|
27 |
.B \-x
|
31 |
.B \-x
|
28 |
]
|
32 |
]
|
|
|
33 |
[
|
|
|
34 |
.B \-C
|
|
|
35 |
]
|
|
|
36 |
[
|
|
|
37 |
.B \-n
|
|
|
38 |
]
|
29 |
.br
|
39 |
.br
|
30 |
.B recollindex
|
40 |
.B recollindex
|
31 |
[
|
41 |
[
|
32 |
.B \-c
|
42 |
.B \-c
|
33 |
<configdir>
|
43 |
<configdir>
|
34 |
]
|
44 |
]
|
35 |
.B \-i
|
45 |
.B \-i
|
36 |
[
|
46 |
[
|
|
|
47 |
.B \-Z
|
|
|
48 |
]
|
|
|
49 |
[
|
37 |
.B \-f
|
50 |
.B \-f
|
38 |
]
|
51 |
]
|
39 |
[<filename [filename ...]>]
|
52 |
[<path [path ...]>]
|
40 |
.br
|
53 |
.br
|
41 |
.B recollindex
|
54 |
.B recollindex
|
42 |
[
|
55 |
[
|
43 |
.B \-c
|
56 |
.B \-c
|
44 |
<configdir>
|
57 |
<configdir>
|
45 |
]
|
58 |
]
|
|
|
59 |
.B \-r
|
|
|
60 |
[
|
|
|
61 |
.B \-Z
|
|
|
62 |
]
|
|
|
63 |
[
|
|
|
64 |
.B \-f
|
|
|
65 |
]
|
|
|
66 |
<dirpath>
|
|
|
67 |
.br
|
|
|
68 |
.B recollindex
|
|
|
69 |
[
|
|
|
70 |
.B \-c
|
|
|
71 |
<configdir>
|
|
|
72 |
]
|
46 |
.B \-e
|
73 |
.B \-e
|
47 |
[<filename [filename ...]>]
|
74 |
[<path [path ...]>]
|
48 |
.br
|
75 |
.br
|
49 |
.B recollindex
|
76 |
.B recollindex
|
50 |
[
|
77 |
[
|
51 |
.B \-c
|
78 |
.B \-c
|
52 |
<configdir>
|
79 |
<configdir>
|
|
... |
|
... |
85 |
file
|
112 |
file
|
86 |
.B recoll.conf.
|
113 |
.B recoll.conf.
|
87 |
This will incrementally update the database with files that changed since
|
114 |
This will incrementally update the database with files that changed since
|
88 |
the last run. If option
|
115 |
the last run. If option
|
89 |
.B \-z
|
116 |
.B \-z
|
90 |
is given, the database will be erased before starting.
|
117 |
is given, the database will be erased before starting. If option
|
|
|
118 |
.B \-Z
|
|
|
119 |
is given, the database will not be reset, but all files will be considered
|
|
|
120 |
as needing reindexing (in place reset).
|
91 |
.PP
|
121 |
.PP
|
92 |
If option
|
122 |
If option
|
93 |
.B
|
123 |
.B
|
94 |
\-m
|
124 |
\-m
|
95 |
is given, recollindex is started for real time monitoring, using the
|
125 |
is given, recollindex is started for real time monitoring, using the
|
|
... |
|
... |
108 |
Option
|
138 |
Option
|
109 |
.B
|
139 |
.B
|
110 |
\-x
|
140 |
\-x
|
111 |
disables this X11 session monitoring (daemon will stay alive even if it
|
141 |
disables this X11 session monitoring (daemon will stay alive even if it
|
112 |
cannot connect to the X11 server). You need to use this too if you use the
|
142 |
cannot connect to the X11 server). You need to use this too if you use the
|
113 |
daemon without an X11 context.
|
143 |
daemon without an X11 context. You can use option
|
114 |
.PP
|
144 |
.B
|
115 |
.B recollindex \-l
|
145 |
\-n
|
116 |
will list the names of available language stemmers.
|
146 |
to skip the initial incrementing pass which is normally performed before
|
|
|
147 |
monitoring starts. Once monitoring is started, the daemon normally monitors
|
|
|
148 |
the configuration and restarts from scratch if a change is made. You can
|
|
|
149 |
disable this with option
|
|
|
150 |
.B
|
|
|
151 |
\-C
|
117 |
.PP
|
152 |
.PP
|
118 |
.B recollindex \-i
|
153 |
.B recollindex \-i
|
119 |
will index individual files into the database. The stem expansion and
|
154 |
will index individual files into the database. The stem expansion and
|
120 |
aspell databases will not be updated. The skippedPaths and skippedNames
|
155 |
aspell databases will not be updated. The skippedPaths and skippedNames
|
121 |
configuration variables will be used, so that some files may be
|
156 |
configuration variables will be used, so that some files may be
|
|
... |
|
... |
126 |
option. This allows fully custom file selection for a given subtree,
|
161 |
option. This allows fully custom file selection for a given subtree,
|
127 |
for which you would add the top directory to skippedPaths, and use any
|
162 |
for which you would add the top directory to skippedPaths, and use any
|
128 |
custom tool to generate the file list (ie: a tool from a source code
|
163 |
custom tool to generate the file list (ie: a tool from a source code
|
129 |
control system).
|
164 |
control system).
|
130 |
.PP
|
165 |
.PP
|
|
|
166 |
.PP
|
131 |
.B recollindex \-e
|
167 |
.B recollindex \-e
|
132 |
will erase data for individual files from the database. The stem expansion
|
168 |
will erase data for individual files from the database. The stem expansion
|
133 |
databases will not be updated.
|
169 |
databases will not be updated.
|
134 |
.PP
|
170 |
.PP
|
135 |
With options
|
171 |
With options
|
|
... |
|
... |
146 |
find /path/to/dir \-print | recollindex \-i
|
182 |
find /path/to/dir \-print | recollindex \-i
|
147 |
.PP
|
183 |
.PP
|
148 |
to force the reindexing of a directory tree (which has to exist inside the
|
184 |
to force the reindexing of a directory tree (which has to exist inside the
|
149 |
file system area defined by
|
185 |
file system area defined by
|
150 |
.I topdirs
|
186 |
.I topdirs
|
151 |
in recoll.conf).
|
187 |
in recoll.conf). You could mostly accomplish the same thing with
|
|
|
188 |
.PP
|
|
|
189 |
.B find /path/to/dir \-print | recollindex \-f \-Z
|
|
|
190 |
.PP
|
|
|
191 |
.B recollindex \-r
|
|
|
192 |
mostly works like -i, but the parameter is a single directory, which will
|
|
|
193 |
be recursively updated. This mostly does nothing more than
|
|
|
194 |
.B find topdir | recollindex -i
|
|
|
195 |
but it may be more convenient to use when started from another program.
|
|
|
196 |
.PP
|
|
|
197 |
.B recollindex \-l
|
|
|
198 |
will list the names of available language stemmers.
|
152 |
.PP
|
199 |
.PP
|
153 |
.B recollindex \-s
|
200 |
.B recollindex \-s
|
154 |
will build the stem expansion database for a given language, which may or
|
201 |
will build the stem expansion database for a given language, which may or
|
155 |
may not be part of the list in the configuration file. If the language is
|
202 |
may not be part of the list in the configuration file. If the language is
|
156 |
not part of the configuration, the stem expansion database will be deleted
|
203 |
not part of the configuration, the stem expansion database will be deleted
|