Moved to es 2.4.
This commit is contained in:
parent
9a2a4d5e6a
commit
2bb247f6e9
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Setup a Elasticsearch
|
# Setup a Elasticsearch
|
||||||
|
|
||||||
* Install Elasticsearch
|
* Install Elasticsearch
|
||||||
https://www.elastic.co/downloads/elasticsearch
|
https://www.elastic.co/downloads/elasticsearch (2.4.x)
|
||||||
|
|
||||||
* Install attachment plugin
|
* Install attachment plugin
|
||||||
cd /usr/share/elasticsearch
|
cd /usr/share/elasticsearch
|
||||||
bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/2.5.0
|
bin/plugin install mapper-attachments
|
||||||
|
|
||||||
* Configure elasticsearch
|
* Configure elasticsearch
|
||||||
/etc/sysconfig/elasticsearch
|
/etc/sysconfig/elasticsearch
|
||||||
|
@ -31,7 +31,5 @@
|
||||||
# optional - max attachment size which is used by es, default is 50 mb
|
# optional - max attachment size which is used by es, default is 50 mb
|
||||||
* rails r "Setting.set('es_attachment_max_size_in_mb', 50)"
|
* rails r "Setting.set('es_attachment_max_size_in_mb', 50)"
|
||||||
|
|
||||||
|
|
||||||
* Create elastic search indexes
|
* Create elastic search indexes
|
||||||
* rake searchindex:rebuild # drop/create/reload
|
* rake searchindex:rebuild # drop/create/reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue