Giter VIP home page Giter VIP logo

wp-elasticsearch's Introduction

ElasticSearch WordPress Plugin

ElasticSearch WordPress Plugin replaces the default Wordpress search with ElasticSearch. You can use any ElasticSearch server or a hosted solution such as SearchBox.io

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.

Installation & Configuration

Installation is straightforward. Copy the wp-elasticsearch folder to "wp-content/plugins/" Next you need to go to the Wordpress dashboard and activate the plugin.

####Server Configuration

You need to set the url of your ElasticSearch server. This plugin uses Elastica 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 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. In this case, the url will be something like: "http://api.searchbox.io/api-key/YOUR_API_KEY/"

####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"

####Indexing Configurations The index name on ElasticSearch is "Wordpress" by default, but you can change this default name to anything you like, you might need this if you want to manage multiple sites on the same account on Searchbox.io

####Search Result Configurations and Enabling Faceted Search In the "Search Result Configurations" section you can configure which facets are enabled on the search results page.

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.

About

This plugin developed by SearchBox.io a cloud hosted "ElasticSearch as Service" provider.

Copyright and License

Copyright 2012 SearchBox.io

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

wp-elasticsearch's People

Contributors

ferhatsb avatar huseyinbabal avatar lorthos avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.