Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

WP Search with Elasticsearch

Beschreibung

A WordPress plugin designed to make working with Elasticsearch and WordPress quick and painless. By Digital Bureau.

Description

WP Search with Elasticsearch is a plugin designed to make adding a powerful search engine to your WordPress site simple.

Simply install the plugin, point it to your Elasticsearch instance, and with a few clicks you will have all of your content set up to work with Elasticsearch!

Features:

  • Easy to set up

  • Index posts from a settings page

  • Robust search algorithms powered by Elasticsearch

  • Functions „like Google“ right out of the box

  • Quick indexing and lightning-fast performance that supports up to 50,000 posts

  • Replaces front end search with a simple widget and a fast, mobile-friendly search page

  • No need to be a developer to work with ES! 

Installation

Requirements

  • Elasticsearch 6+
  • PHP 5.6
  • At least 512MB allocated for WordPress

Plugin Install

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

Install Elasticsearch and allow all requests

  • To set up an Elasticsearch instance from scratch, refer to the official Elasticsearch installation docs here for support and allowing access to your ES instance.

  • A much easier and well supported installation is available from Amazon Web Services. You can follow the 3-minute deployment instructions here.

    • You will need to make sure that your ES instance is set up to allow requests from your WordPress installation.

    -For AWS: Make note of the IP of your WordPress host, and add it to the allowed IP\’s list in the \’modify access policy\‘ section.

Set up WP Search with Elasticsearch

  • Once the plugin has been activated, Settings->WP Search with Elasticsearch in the WordPress Admin.

  • Add your information to the \’Available before Index Creation\‘ section:

    • Specify the index name, url, port, and what content you would like to add to the search engine.
  • Click \’Save All Changes\‘. The page will reload.

  • If you have used the correct info for your ES instance and have allowed your WordPress IP to access it, you should see the cluster information at the top of the screen

    • If you are getting error messages, make sure that your Elasticsearch instance is set up to allow requests, and that you have the correct url and port defined.
    • NOTE: If using AWS, setting access rules will take time to populate correctly, sometimes as long as 15-20 minutes.
  • Once your cluster is connected, scroll to the bottom of the screen and click on the \’Click to Create Index\‘ button. You will be notified the index has been created, then the page will reload.

  • Once your index has been created, click on the \’Click to Populate\‘ button at the bottom of the screen, you will be notified how many posts have been added to the index, then the page will reload.

Configuration defaults

  • The plugin is automatically set up to function \“like Google\“, where queries in quotes will be treated as a single query, operators like \’and\‘ will combine search terms into one search, etc.

  • Any new posts and pages will automatically be added to the search index, any changes to a post will be updated in the index.

Add a widget to your site

  • Under Appearance->Widgets in wp-admin, you can add the \“WP Search with Elasticsearch\“ search bar to your site. This overrides the stock search in WordPress.

 

 

Screenshots

Rezensionen

7. Mai 2020
Installed on the latest version of WordPress, filled in the Elasticsearch endpoint, saved and the website goes down. Did not capture the PHP 7.4 errors but were many. Had to delete the folder from wp-content/plugins/ to be able to get back to the website. Judging from the last update date (11 months ago as I write this), this plugin is probably no longer loved... 🙁
13. Dezember 2017
Super easy setup when using AWS's Elasticsearch servers. Takes the complexity out of integrating Wordpress with Elasticsearch.
Alle 3 Rezensionen lesen

Mitwirkende & Entwickler

„WP Search with Elasticsearch“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende