<<

NAME

rebuild_elastic_search.pl - inserts records from a Koha database into Elasticsearch

SYNOPSIS

rebuild_elastic_search.pl [-c|--commit=count] [-v|--verbose] [-h|--help] [--man]

DESCRIPTION

Inserts records from a Koha database into Elasticsearch.

OPTIONS

-c|--commit=count

Specify how many records will be batched up before they're added to Elasticsearch. Higher should be faster, but will cause more RAM usage. Default is 5000.

-d|--delete

Delete the index and recreate it before indexing.

-a|--authorities

Index the authorities only. Combining this with -b is the same as specifying neither and so both get indexed.

-b|--biblios

Index the biblios only. Combining this with -a is the same as specifying neither and so both get indexed.

-bn|--bnumber

Only index the supplied biblionumber, mostly for testing purposes. May be repeated. This also applies to authorities via authid, so if you're using it, you probably only want to do one or the other at a time.

-v|--verbose

By default, this program only emits warnings and errors. This makes it talk more. Add more to make it even more wordy, in particular when debugging.

-h|--help

Help!

--man

Full documentation.

<<