Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve elasticsearch integration docs

Artur Smęt684bb3a75b38
diff --git a/docs/configuration.rst b/docs/configuration.rst
index 68c1259488..2360544b58 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -48,6 +48,3 @@ Environment variables
``SECRET_KEY``
Controls `Django's secret key <https://docs.djangoproject.com/en/1.10/ref/settings/#secret-key>`_ setting.
-
-``ELASTICSEARCH_URL``
- Controls optional `Elasticsearch <https://www.elastic.co/products/elasticsearch>`_ integration (see :doc:`elasticsearch`). Defaults to ``None``.
diff --git a/docs/elasticsearch.rst b/docs/elasticsearch.rst
index 8c386442c5..72571d6815 100644
--- a/docs/elasticsearch.rst
+++ b/docs/elasticsearch.rst
@@ -9,6 +9,10 @@ Elasticsearch search backend requires an Elasticsearch server. For development p
Integration can be configured with set of environment variables.
+ .. warning::
+
+ Saleor requires Elasticsearch 5.1 or higher.
+
When you're deploying on Heroku - you can use add-on that provides Elasticsearch as a service.
Services available on Heroku:
diff --git a/docs/integrations.rst b/docs/integrations.rst
index 47f58d81cc..286c47c963 100644
--- a/docs/integrations.rst
+++ b/docs/integrations.rst
@@ -104,3 +104,15 @@ To get it working you need to export the following environment variable:
``GOOGLE_ANALYTICS_TRACKING_ID``
Your page's Google “Tracking ID.“
+
+
+Full text search with Elasticsearch
+-----------------------------------
+
+You can use optional `Elasticsearch <https://www.elastic.co/products/elasticsearch>`_ integration.
+To get it working you need to export following environment variable:
+
+``ELASTICSEARCH_URL``
+ URL to Elasticsearch server, for example: `"http://localhost:9200"`. Defaults to ``None``
+
+For more details see :doc:`elasticsearch`