Add Elasticsearch index templates
This patch adds three index templates that are used by StackLight.
diff --git a/README.rst b/README.rst
index 1d85c54..cc8cfdb 100644
--- a/README.rst
+++ b/README.rst
@@ -122,7 +122,7 @@
Client setup
------------
-Client with host and port
+Client with host and port:
.. code-block:: yaml
@@ -133,6 +133,22 @@
host: elasticsearch.host
port: 9200
+Client where you download an index template that is stored in the direcotry
+*files/*:
+
+.. code-block:: yaml
+
+ elasticsearch:
+ client:
+ enabled: true
+ server:
+ host: elasticsearch.host
+ port: 9200
+ index:
+ my_index:
+ enabled: true
+ template: elasticsearch/files/my_index_template.json
+
Read more
=========