Bug 23137: Add documentation
authorNick Clemens <nick@bywatersolutions.com>
Tue, 14 Apr 2020 10:14:00 +0000 (10:14 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Apr 2020 16:02:11 +0000 (17:02 +0100)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

debian/docs/koha-elasticsearch.xml

index 8b25087..f820405 100644 (file)
@@ -30,6 +30,8 @@
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>koha-elasticsearch --rebuild</command>
+      <arg>-d|--delete</arg>
+      <arg>-r|--reset</arg>
       <arg>-b|--biblios</arg>
       <arg>-a|--authorities</arg>
       <arg>-v|--verbose</arg>
   <refsect1><title>Options</title>
   <variablelist>
     <varlistentry>
+      <term><option>-d</option></term>
+      <listitem>
+        <para>In conjunction with <option>--rebuild</option>, it deletes existing indexes before reindexing.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><option>-r</option></term>
+      <listitem>
+        <para>In conjunction with <option>--rebuild</option>, it reloads the settings from the Elasticsearch
+              files set in koha-conf.xml . This option implies delete.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
       <term><option>-a</option></term>
       <listitem>
         <para>In conjunction with <option>--rebuild</option>, it triggers authority record reindexing.</para>