X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Fzebraidx.xml;h=c8ad513a14b2db42a33aaac77e421260d84e0987;hp=9c1c0cee297491df1dc312492b61dc211226f661;hb=1b8e1d7dfece31918056f76819c18675ed6e781e;hpb=25a37c9be836f891281688788a7a1f967ea2b2cb diff --git a/doc/zebraidx.xml b/doc/zebraidx.xml index 9c1c0ce..c8ad513 100644 --- a/doc/zebraidx.xml +++ b/doc/zebraidx.xml @@ -1,28 +1,61 @@ - - - Running the Maintenance Interface (zebraidx) + + %local; + + %entities; + + %idcommon; +]> + + + + zebra + &version; + + + + zebraidx + 1 + - - The following is a complete reference to the command line interface to - the zebraidx application. - + + zebraidx + &zebra; Administrative Tool + - - Syntax - - - $ zebraidx [options] command [directory] ... - - - Options: - &zebraidx-options; - - + + + zebraidx + + + + + + + + + + + + + command + file + + - - Commands + DESCRIPTION + + zebraidx allows you to insert, delete or updates + records in &zebra;. zebraidx accepts a set options + (see below) and exactly one command (mandatory). + + + + COMMANDS + - update directory @@ -31,7 +64,8 @@ directory. If no directory is provided, a list of files is read from stdin. - See . + See Administration in the &zebra; + Manual. @@ -51,25 +85,183 @@ Write the changes resulting from the last update commands to the register. This command is only available if the use of shadow register files is enabled - (see ). + (see Shadow Registers in the + &zebra; Manual). + + + + + clean + + Clean shadow files and "forget" changes. + + + + create database + + Create database. + + + + drop database + + Drop database (delete database). + + + + init + + Deletes an entire register (all files in shadow+register areas). + + + + + + OPTIONS + + + + -t type + + + Update all files as type. Currently, the + types supported are text, alvis + and grs.subtype. + Generally, it is probably advisable to specify the record types + in the zebra.cfg file (see + Record Types in the &zebra; manual), + to avoid confusion at subsequent updates. + + + + + -c config-file + + + Read the configuration file + config-file instead of + zebra.cfg. + + + + + -g group + + + Update the files according to the group + settings for group + (see &zebra; Configuration File in + the &zebra; manual). + + + + + -d database + + + The records located should be associated with the database name + database for access through the &z3950; server. + + + + + + -l file + + + Write log messages to file instead + of stderr. + + + + + + -m mbytes + + + Use mbytes of memory before flushing + keys to background storage. This setting affects performance when + updating large databases. + + + + + -L + + + Makes zebraidx skip symbolic links. By default, zebraidx follows + them. + + + + + -n + + + Disable the use of shadow registers for this operation + (see Shadow Registers in + the &zebra; manual). + + + + + -s + + + Show analysis of the indexing process. The maintenance + program works in a read-only mode and doesn't change the state + of the index. This options is very useful when you wish to test a + new profile. + + + + + -V + + + Show &zebra; version. + + + + + -v level + + + Set the log level to level. + level should be one of + none, debug, and + all. - + + FILES + + zebra.cfg + + + SEE ALSO + + + zebrasrv + 8 + + + + - - +