X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=doc%2Fzebraidx.xml;h=e908508579db76be393bd1eace27cb2a1273cb4e;hb=972bceaa6386f904bc3e4845f1c5598656c5c6f2;hp=a9da68ab4c5a39447dbb7c600720e7c3cf0e2c9f;hpb=79dbb0556936ee101483f693d38bd5e97c49689e;p=idzebra-moved-to-github.git diff --git a/doc/zebraidx.xml b/doc/zebraidx.xml index a9da68a..e908508 100644 --- a/doc/zebraidx.xml +++ b/doc/zebraidx.xml @@ -1,36 +1,148 @@ - - - Running the Maintenance Interface (zebraidx) - - - The following is a complete reference to the command line interface to - the zebraidx application. - - - - Syntax - - - $ zebraidx [options] command [directory] ... - - - Options: + + %local; + + %entities; + + %idcommon; +]> + + + zebra + &version; + Index Data + + + + zebraidx + 1 + Commands + + + + zebraidx + &zebra; Administrative Tool + + + + + zebraidx + + + + + + + + + + + + + command + file + + + + 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 + + + Update the register with the files contained in + directory. + If no directory is provided, a list of files is read from + stdin. + See Administration in the &zebra; + Manual. + + + + + delete directory + + + Remove the records corresponding to the files found under + directory from the register. + + + + + adelete directory + + + Remove the records corresponding to the files found under + directory from the register. + Unlike command delete this command does not + fail if a record does not exist (but which is attempted deleted). + + + + + commit + + + 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 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 and - grs.subtype. - If no subtype is provided for the GRS - (General Record Structure) type, the canonical input format - is assumed (see ). - Generally, it is probably advisable to specify the record types - in the zebra.cfg file (see - ), to avoid confusion at - subsequent updates. + 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. @@ -50,7 +162,8 @@ Update the files according to the group settings for group - (see ). + (see &zebra; Configuration File in + the &zebra; manual). @@ -59,7 +172,7 @@ The records located should be associated with the database name - database for access through the Z39.50 server. + database for access through the &acro.z3950; server. @@ -78,18 +191,28 @@ -m mbytes - Use mbytes of megabytes before flushing + 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 ). + (see Shadow Registers in + the &zebra; manual). @@ -108,7 +231,7 @@ -V - Show Zebra version. + Show &zebra; version. @@ -124,59 +247,33 @@ - - - - Commands - - - - update directory - - - Update the register with the files contained in - directory. - If no directory is provided, a list of files is read from - stdin. - See . - - - - - delete directory - - - Remove the records corresponding to the files found under - directory from the register. - - - - - commit - - - 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 ). - - - - - + + FILES + + zebra.cfg + + + SEE ALSO + + + zebrasrv + 8 + + + + - - +