diff --git a/debian/docs/koha-common.xml b/debian/docs/koha-common.xml
index 2790341d64..f14f750b1a 100644
--- a/debian/docs/koha-common.xml
+++ b/debian/docs/koha-common.xml
@@ -155,6 +155,18 @@
+
+ Elasticsearch-related
+
+
+
+
+ Manage Elasticsearch-related tasks for Koha instances.
+
+
+
+
+
E-mail
diff --git a/debian/docs/koha-elasticsearch.xml b/debian/docs/koha-elasticsearch.xml
new file mode 100644
index 0000000000..8b25087a5e
--- /dev/null
+++ b/debian/docs/koha-elasticsearch.xml
@@ -0,0 +1,100 @@
+
+koha-elasticsearch
+
+Koha is the first free software library automation package.
+
+ The Koha Community
+ http://koha-community.org/
+
+
+
+
+
+
+ koha-elasticsearch
+ 8
+
+
+
+ koha-elasticsearch
+ Manage Elasticsearch-related tasks for Koha instances.
+ UNIX/Linux
+
+
+ Description
+ Provides Elasticsearch-related tasks for Koha instances. An action needs to
+ be passed.
+
+
+
+
+
+ koha-elasticsearch --rebuild
+ -b|--biblios
+ -a|--authorities
+ -v|--verbose
+ -c n|--commit n
+ -v|--verbose
+ instancename
+
+
+
+ Actions
+
+
+
+
+ Makes koha-elasticsearch rebuild Elasticsearch indexes based on the parameters.
+ By default it rebuilds both authority and bibliographic records. This behaviour can be controlled
+ with the and parameters.
+
+
+
+
+
+
+ Options
+
+
+
+
+ In conjunction with , it triggers authority record reindexing.
+
+
+
+
+
+ In conjunction with it triggers bibliographic record reindexing.
+
+
+
+
+
+ Specifies how many records will be batched up before they are added to Elasticsearch (default: 5000).
+ Higher values lead to better performance, but take more RAM.
+
+
+
+
+
+ Be verbose. Useful for debugging indexing problems.
+
+
+
+
+
+ Display usage information.
+
+
+
+
+
+ See also
+
+ koha-rebuild-zebra(8)
+
+
+
+
+
+