WP Manifestindependent plugin directory
manifest / developer / es-wp-query

Elasticsearch Wrapper for WP_Query

A drop-in replacement for WP_Query to leverage Elasticsearch for complex queries

by Matthew Boynes · github.com/alleyinteractive/es-wp-query · website

125stars
3.2kcomposer installs
28forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/alleyinteractive/es-wp-query/archive/refs/heads/main.zip

Also on Packagist as alleyinteractive/es-wp-query:

composer require alleyinteractive/es-wp-query

From the readme

Elasticsearch Wrapper for WPQuery A drop-in replacement for WPQuery to leverage Elasticsearch for complex queries. Warning! This plugin is currently in beta development, and as such, no part of it is guaranteed. It works (the unit tests prove that), but we won't be concerned about backwards compatibility until the first release. If you choose to use this, please pay close attention to the commit log to make sure we don't break anything you've implemented. Instructions for use This is actually more of a library than it is a plugin. With that, it is plugin-agnostic with regards to how you're connecting to Elasticsearch. It therefore generates Elasticsearch DSL, but does not actually connect to an Elasticsearch server to execute these queries. It also does no indexing of data, it doesn't add a mapping, etc. If you need an Elasticsearch WordPress plugin, we also offer a free and open-source option called SearchPress. Once you have your Elasticsearch plugin setup and you have your data indexed, you need to tell this library how to use it. If the implementation you're using has an included adapter, you can load it like so: eswpqueryloadadapter( 'adapter-name' ); If your Elastics

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
0.5.2Oct 10, 2024
0.5.1Sep 4, 2024
0.5May 23, 2024
0.4Jun 22, 2021
1.0-es-2.x-beta-1Mar 8, 2016
1.0-es-1.x-beta-1Mar 7, 2016