Skip to content

Instantly share code, notes, and snippets.

@jonathanbardo
Last active January 15, 2016 03:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanbardo/0166f612d7290325f508 to your computer and use it in GitHub Desktop.
Save jonathanbardo/0166f612d7290325f508 to your computer and use it in GitHub Desktop.
Install Elasticpress
# Download from wordpress.org repository into your plugins folder
# https://wordpress.org/plugins/elasticpress/
# Make sure you have wp-cli installed (otherwise it won't work) http://wp-cli.org/
# Add config line to wp-config.php:
# define( 'EP_HOST', 'http://127.0.0.1:9200' );
# In your docroot (WordPress root folder)
wp plugin activate elasticpress --network
# Start the indexation process
wp elasticpress index --setup
# All done (everytime a post is updated, the index will be refreshed)!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment