1 <article xmlns='http://docbook.org/ns/docbook'>
2 <title>koha-rebuild-zebra</title>
4 <productname>Koha</productname> is the first free software library automation package.
6 <orgname>The Koha Community</orgname>
7 <uri>http://koha-community.org/</uri>
11 <refentry xml:id="koha-rebuild-zebra">
14 <refentrytitle>koha-rebuild-zebra</refentrytitle>
15 <manvolnum>8</manvolnum>
19 <refname>koha-rebuild-zebra</refname>
20 <refpurpose>Rebuild the Zebra database for Koha instances.</refpurpose>
21 <refclass>UNIX/Linux</refclass>
26 <command>koha-rebuild-zebra</command> <arg><option>-u</option>|<option>--usmarc</option></arg> <arg><option>--force</option></arg> <arg><option>-f</option>|<option>--full</option></arg> <arg><option>-a</option>|<option>--authorities</option></arg> <arg><option>-b</option>|<option>--biblios</option></arg> <arg><option>-q</option>|<option>--quiet</option></arg> <arg><option>-v</option>|<option>--verbose</option></arg> <arg><option>...</option></arg> <arg choice="req" rep="repeat"><replaceable>instancename</replaceable></arg>
30 <refsect1><title>Options</title>
33 <term><option>-u, --usmarc</option></term>
35 <para>Runs the process as USMARC rather than the default of MARCXML.</para>
39 <term><option>--force</option></term>
41 <para>Force incremental indexing when <option>USE_INDEXER_DAEMON=yes</option>.</para>
45 <term><option>-f, --full</option></term>
47 <para>Does a reindex of the whole collection. Will run even if <option>USE_INDEXER_DAEMON=yes</option>.</para>
51 <term><option>-a, --authorities</option></term>
53 <para>Only run the indexing process for authority records.</para>
57 <term><option>-b, --biblios</option></term>
59 <para>Only run the indexing process for biblio records.</para>
63 <term><option>-q, --quiet</option></term>
65 <para>Sometimes be a bit quieter for scripts/cronjobs.</para>
69 <term><option>-v, --verbose</option></term>
71 <para>Be verbose. Useful for debugging indexing problems.</para>
75 <term><option>-...</option></term>
77 <para>Anything else is passed directly to rebuild_zebra.</para>
83 <refsect1><title>Description</title>
84 <para>Rebuild the Zebra database for Koha instances. It will run incremental updates by default. It will be skipped if <option>USE_INDEXER_DAEMON=yes</option> in /etc/default/koha-common, unless <option>--force</option> or <option>--full</option> are used.</para>
87 <refsect1><title>See also</title>
88 <simplelist type="inline">
89 <member><command>koha-zebra(8)</command></member>