Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Elasticsearch View Feature Request

$
0
0

Hi there,

I would like to submit a feature request to integrate Views with Elasticsearch and/or Apache Solr.

Drupal has a module called Apachesolr Views which queries an Apache Solr database, rather than MySQL, to display facets and fields. The benefit of using Elasticsearch or Apache Solr rather than MySQL is higher performance and scalability.

The Fantastic Elasticsearch plugin, available at wordpress.org, exposes terms and term counts from Elasticsearch queries at $WP_Query->facets. Overall, that plugin seems to do a good job of integrating seamlessly with the WordPress API. Already, I can control what fields display in Elasticsearch's search results, without doing any editing to a schema, by using Views and Fantastic Elasticsearch in tandem. What's missing is the ability to use Views UI to make Elasticsearch queries and display Elasticsearch facets.

An Apache Solr View might be just as good. However, it seems that Automattic has adopted Elasticsearch whole hog, based on their Kaiser Family and Healthpocket projects and on Gibrown's blog, and done so with good results. Both Elasticsearch and Apache Solr output JSON, so if some JSON bridge could be formed with Views, then theoretically a user could have the option of which search engine to use.

Thanks for the fantastic work on Toolset already.

Kind regards,

Scott


Viewing all articles
Browse latest Browse all 20145

Trending Articles