User manual
Chapter 3
Parameters
Description
-nosanitize
Export biblio /authority records directly from DB marcxml
field without
sanitizing records. It speed up dump process but could fail if DB
contains badly encoded records. Works only with -x.
-w
Skip shadow indexing for this batch.
-y Does NOT clear zebraqueue
after indexing; normally, after doing batch
indexing, zebraqueue
should be marked done for the affected record
type(s) so that a running
zebraqueue_ daemon doesn't try to reindex
the same records - specify -y to override this. Cannot be used with -
z.
Increase the amount of logging. Normally only warnings and errors
from the indexing are shown.
-munge-
Deprecated option to try to fix Zebra config files.
config
- -help or -h
Show this message.
Here are some key points about the options available with the rebuild_zebra . pl
program:
The most commonly used options are -b, -a, -r, -z, -y, and -x.
We use either -r or -z, not both.
Both -b and -a can be used in the same statement.
If we expect at least some MARC records to have large sizes we use -x,
for instance if the number of holdings is very large.
The -v
option can be used to troubleshoot problems with the program.
The -r
option is typically used when the server is setup and catalog data
has been migrated.
The -r option should also be used if Zebra configuration is changed, for
instance if a new field is to be indexed.
The -z option should be used when the rebuild program is scheduled in
the crontab. This option only indexes updates to the catalog.
Let us look at some examples to learn how to run this program.
[47]