1 <chapter id="zebraidx">
2 <!-- $Id: zebraidx.xml,v 1.1 2002-04-09 13:26:26 adam Exp $ -->
3 <title>Running the Maintenance Interface (zebraidx)</title>
6 The following is a complete reference to the command line interface to
7 the <literal>zebraidx</literal> application.
14 $ zebraidx [options] command [directory] ...
21 <term>-t <replaceable>type</replaceable></term>
24 Update all files as <replaceable>type</replaceable>. Currently, the
25 types supported are <literal>text</literal> and
26 <literal>grs</literal><replaceable>.subtype</replaceable>.
27 If no <replaceable>subtype</replaceable> is provided for the GRS
28 (General Record Structure) type, the canonical input format
29 is assumed (see <xref linkend="local-representation"/>).
30 Generally, it is probably advisable to specify the record types
31 in the <literal>zebra.cfg</literal> file (see
32 <xref linkend="record-types"/>), to avoid confusion at
38 <term>-c <replaceable>config-file</replaceable></term>
41 Read the configuration file
42 <replaceable>config-file</replaceable> instead of
43 <literal>zebra.cfg</literal>.
48 <term>-g <replaceable>group</replaceable></term>
51 Update the files according to the group
52 settings for <replaceable>group</replaceable>
53 (see <xref linkend="configuration-file"/>).
58 <term>-d <replaceable>database</replaceable></term>
61 The records located should be associated with the database name
62 <replaceable>database</replaceable> for access through the Z39.50 server.
68 <term>-l <replaceable>file</replaceable></term>
71 Write log messages to <replaceable>file</replaceable> instead
72 of <literal>stderr</literal>.
78 <term>-m <replaceable>mbytes</replaceable></term>
81 Use <replaceable>mbytes</replaceable> of megabytes before flushing
82 keys to background storage. This setting affects performance when
83 updating large databases.
91 Disable the use of shadow registers for this operation
92 (see <xref linkend="shadow-registers"/>).
100 Show analysis of the indexing process. The maintenance
101 program works in a read-only mode and doesn't change the state
102 of the index. This options is very useful when you wish to test a
116 <term>-v <replaceable>level</replaceable></term>
119 Set the log level to <replaceable>level</replaceable>.
120 <replaceable>level</replaceable> should be one of
121 <literal>none</literal>, <literal>debug</literal>, and
122 <literal>all</literal>.
134 <term>update <replaceable>directory</replaceable></term>
137 Update the register with the files contained in
138 <replaceable>directory</replaceable>.
139 If no directory is provided, a list of files is read from
140 <literal>stdin</literal>.
141 See <xref linkend="administration"/>.
146 <term>delete <replaceable>directory</replaceable></term>
149 Remove the records corresponding to the files found under
150 <replaceable>directory</replaceable> from the register.
158 Write the changes resulting from the last <literal>update</literal>
159 commands to the register. This command is only available if the use of
160 shadow register files is enabled
161 (see <xref linkend="shadow-registers"/>).
169 <!-- Keep this comment at the end of the file
174 sgml-minimize-attributes:nil
175 sgml-always-quote-attributes:t
178 sgml-parent-document: "zebra.xml"
179 sgml-local-catalogs: nil
180 sgml-namecase-general:t