NAME

koha-index - Index Koha biblio/authority records

VERSION

version 0.062

SYNOPSIS

 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

DESCRIPTION

Index queued biblio/autority record, or reindex the whole DB. Koha standard environment variables must ne set appropriately: KOHA_CONF and PERL5LIB.

OPTIONS

--source

Select records to be indexed: biblio or authority. If not specified, biblio by default.

--select

Select record to be indexed: all or queue. If not specified, all is selected. If all is selected, zebra database is reset before indexing.

--directory

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

Keep the directory, and its content, where biblio/authority records have been exported.

--conf

Specify Koha configuration file.

--verbose

Increase the amount of logging. Normally only warnings and errors from the indexing are shown.

SEE ALSO

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019 by Fréderic Démians.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007