From ff26230c7697b314a0c66a8743c6029b120fdcaf Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 9 Dec 2014 11:32:10 +0100 Subject: [PATCH] Added es config. --- README_elasticsearch.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README_elasticsearch.md b/README_elasticsearch.md index 32a1951b1..229d03051 100644 --- a/README_elasticsearch.md +++ b/README_elasticsearch.md @@ -6,7 +6,14 @@ cd /usr/share/elasticsearch bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/2.0.0 -* Configure elastic search +* Configure elasticsearch + /etc/sysconfig/elasticsearch + ES_HEAP_SIZE=2g + + /etc/elasticsearch/elasticsearch.yml + http.max_content_length: 500mb + +* Configure Zammad * rails r "Setting.set('es_url', 'http://172.0.0.1:9200')" * rails r "Setting.set('es_user', 'elasticsearch')" # optional