You can add this repo name under the
extensions section of your config file.
cd path/to/chassis/extensions git clone --recursive firstname.lastname@example.org:Chassis/Chassis-Elasticsearch.git
Then reprovision your machine:
Once the machine has finished provisioning you can access ElasticSearch at
http://<host>:9200/ or from within the VM at
The extension also provides two PHP constants in your
ELASTICSEARCH_HOST // defaults to localhost ELASTICSEARCH_PORT // defaults to 9200
We recommend using the Head Chrome Extension for debugging queries and exploring your indexes.
Chassis ElasticSearch provides some default options you can override from your config file(s).
elasticsearch: repo_version: '5.x' version: '5.5.3' plugins: - 'analysis-icu' host: '0.0.0.0' port: 9200 timeout: 10 instances: - 'es' jvm_options: # You may want to increase the memory limits here if you are indexing images & files. # Note you may also need to increase the memory limits for the VM and PHP also. - '-Xms256m' - '-Xmx256m'
If you're having trouble with Elasticsearch there are a few common commands you can run inside Vagrant.
- First you need to
- To check the status of Elasticsearch run:
sudo service elasticsearch-es status.
- To stop Elasticsearch run:
sudo service elasticsearch-es stop
- To start Elasticsearch run:
sudo service elasticsearch-es start
Version and plugins are the only ones you'll likely want to change.
This extension was made with