Added es read me.
This commit is contained in:
parent
be86326098
commit
cb35c946eb
1 changed files with 18 additions and 0 deletions
18
README_elasticsearch.md
Normal file
18
README_elasticsearch.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Setup a elastic search
|
||||
|
||||
* Install elastic search
|
||||
|
||||
* Install attachment plugin
|
||||
cd /usr/share/elasticsearch
|
||||
bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/2.0.0
|
||||
|
||||
* Configure elastic search
|
||||
|
||||
* rails r "Setting.set('es_url', 'http://172.0.0.1:9200')"
|
||||
* rails r "Setting.set('es_user', 'elasticsearch')" # optional
|
||||
* rails r "Setting.set('es_password', 'zammad')" # optional
|
||||
* rails r "Setting.set('es_index', Socket.gethostname + '_zammad')" # optional
|
||||
|
||||
* Create elastic search indexes
|
||||
* rake searchindex:rebuild # drop/create/reload
|
||||
|
Loading…
Reference in a new issue