← all projects
elasticsearch-vvv-utility
Elasticsearch utility for VVV, the WordPress local development environment
ElasticSearch vvv utility
ElasticSearch utility for VVV. Based on the Redis utility by Denis Žoljom, thanks!
This utility will set up ElasticSearch on your VVV.
Usage
In your config/config.yaml file add under extensions:
extensions:
elasticsearch:
- elasticsearch7
utility-sources:
elasticsearch:
repo: https://github.com/svandragt/elasticsearch-vvv-utility.git
branch: master
Once you add it, be sure you re-provision your VVV with vagrant reload --provision.
WordPress Setup (example using ElasticPress)
- Install ElasticPress (activate it) (
wp plugin install elasticpress --activateor via the browser) - In the admin, under
ElasticPress > Settings > Third-Party/Self-Hostedaddhttp://127.0.0.1:9200:

- Create
public_html/wp-content/mu-plugins/elasticpress.phpwith the contents of elasticpress.php to avoid conflicts for multisite networks and multiple sites using a single index. - To run the index run
wp elasticpress index --setup.