WP-Elasticsearch replaces the default WordPress search with ElasticSearch.By moving to ElasticSearch you will be able to benefit from Lucene’s capabilities which provides a more relevant search experience and you will reduce the load on your SQL server by avoiding the search on the database.
- Download zip or tar file and extract it as wp-elasticsearch to “wp-content/plugins/”.
- Next you need to go to the WordPress dashboard and activate the plugin.
- You need to set the url of your ElasticSearch server. This plugin uses Elastica under the hood, so the comminucation needs to be in HTTP. If you run ElasticSearch on your local computer with the default settings, this ourl will be “http://localhost:9200” You can also sign up for a free account at www.searchbox.io get a valid API key and configure this plugin to use SearchBox.io as well.
- Indexing Operations
After the initial install, you might want to sync your posts with the ElasticSearch server, for this click “Index All Posts”
You can delete all the documents from ElasticSearch by clicking “Delete Documents”. This will not delete anything from your database but only delete the ElasticSearch server contents.
For all the other cases, such as posting a new article or deleting one, the plugin will aotumatically sync the operation to ElasticSearch by default, you can change this behaviour from “Indexing Configurations”
5. Indexing Configurations
The index name on ElasticSearch is “WordPress” by default, but you can change this default name to anything you like
6. Search Result Configurations and Enabling Faceted Search
To enable faceted search on the search results page, navigate to “Appereance -> Widgets”, then simply drag and drop “ElasticSearch Facet Widget” to toe right, on to the Primary Widget Area.
See: [Github Documentation] (http://searchbox-io.github.com/wp-elasticsearch/) for details.
Nothing So far
Contributors & Developers
“ElasticSearch WordPress Plugin” is open source software. The following people have contributed to this plugin.
Interested in development?
1.0 – initial release