koha-index - Index Koha biblio/authority records
koha-index koha-index --verbose koha-index --source biblio --select queue koha-index --source authority --select all koha-index conf /etc/koha/mylib.xml --select queue \\ --directory /tmp/koha-index-mylib --keep
Index queued biblio/autority record, or reindex the whole DB. Koha standard environment variables must ne set appropriately: KOHA_CONF and PERL5LIB.
Select records to be indexed:
authority. If not specified, biblio by default.
Select record to be indexed:
queue. If not specified,
all is selected. If
all is selected, zebra database is reset before indexing.
Directory where records to be indexed by Zebra are exported. If not specified, a direcory named
koha-index is used, and if necessary created, in the current directory. In this directory, sub-directories are created containing records to be updated or deleted by Zebra. If those subdirectories already exist, they are first emptied. The export directory tree is kept after zebra indexing.
Keep the directory, and its content, where biblio/authority records have been exported.
Specify Koha configuration file.
Increase the amount of logging. Normally only warnings and errors from the indexing are shown.
Frédéric Demians <firstname.lastname@example.org>
This software is Copyright (c) 2013 by Fréderic Démians.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007