1ZEBRAIDX(1)                        Commands                        ZEBRAIDX(1)
2
3
4

NAME

6       zebraidx - Zebra Administrative Tool
7

SYNOPSIS

9       zebraidx [-c config] [-d database] [-f number] [-g group] [-l file]
10                [-L] [-m mbytes] [-n] [-s] [-v level] [-t type] [-v] {command}
11                [file...]
12

DESCRIPTION

14       zebraidx allows you to insert, delete or updates records in Zebra.
15       zebraidx accepts a set options (see below) and exactly one command
16       (mandatory).
17

COMMANDS

19       update directory
20           Update the register with the files contained in directory. If no
21           directory is provided, a list of files is read from stdin. See
22           Administration in the Zebra Manual.
23
24       delete directory
25           Remove the records corresponding to the files found under directory
26           from the register.
27
28       adelete directory
29           Remove the records corresponding to the files found under directory
30           from the register. Unlike command delete this command does not fail
31           if a record does not exist (but which is attempted deleted).
32
33       commit
34           Write the changes resulting from the last update commands to the
35           register. This command is only available if the use of shadow
36           register files is enabled (see Shadow Registers in the Zebra
37           Manual).
38
39       check options
40           Runs consistency check of register. May take a long time. Options
41           may be one of quick, default or full.
42
43       clean
44           Clean shadow files and "forget" changes.
45
46       create database
47           Create database.
48
49       drop database
50           Drop database (delete database).
51
52       init
53           Deletes an entire register (all files in shadow+register areas).
54

OPTIONS

56       -c config-file
57           Read the configuration file config-file instead of zebra.cfg.
58
59       -d database
60           The records located should be associated with the database name
61           database for access through the Z39.50 server.
62
63       -f number
64           Specify how many per-record log lines, zebraidx, should produce
65           during indexing and during register check (check command). If this
66           option is not given, a value of 1000 is used.
67
68       -g group
69           Update the files according to the group settings for group (see
70           Zebra Configuration File in the Zebra manual).
71
72       -l file
73           Write log messages to file instead of stderr.
74
75       -L
76           Makes zebraidx skip symbolic links. By default, zebraidx follows
77           them.
78
79       -m mbytes
80           Use mbytes of memory before flushing keys to background storage.
81           This setting affects performance when updating large databases.
82
83       -n
84           Disable the use of shadow registers for this operation (see Shadow
85           Registers in the Zebra manual).
86
87       -s
88           Show analysis of the indexing process. The maintenance program
89           works in a read-only mode and doesn't change the state of the
90           index. This options is very useful when you wish to test a new
91           profile.
92
93       -t type
94           Update all files as type. Currently, the types supported are text,
95           alvis and grs.subtype. Generally, it is probably advisable to
96           specify the record types in the zebra.cfg file (see Record Types in
97           the Zebra manual), to avoid confusion at subsequent updates.
98
99       -V
100           Show Zebra version.
101
102       -v level
103           Set the log level to level.  level should be one of none, debug,
104           and all.
105

FILES

107       zebra.cfg
108

SEE ALSO

110       zebrasrv(8)
111

AUTHORS

113       Index Data
114
115
116
117zebra 2.1.4                       08/01/2018                       ZEBRAIDX(1)
Impressum