Elasticsearch Helper Views module provides a way to display Elasticsearch results using Drupal Views.

Requirements

Installation

Elasticsearch Helper Views module can be installed via the
standard Drupal installation process.

  1. Install Elasticsearch search engine (how-to).
  2. Install and enable Elasticsearch Helper module.
  3. Install and enable Elasticsearch Helper Views module.

Usage

  1. Install Elasticsearch search engine (how-to).
  2. Install the Elasticsearch Helper module, configure it and create indices using ElasticsearchIndex type plugins in a custom module.
  3. Create an ElasticsearchQueryBuilder type plugin in a custom module.
  4. If you want to create exposed filter in your view, you will have to create custom views filter plugins and define them in a hook_views_data_alter() hook for elasticsearch_result data type.
  5. Create a view and select Elasticsearch result as a data type.
  6. In a view configuration form click on the Query settings link and select the query building plugin that will generate Query DSL for this particular view.
  7. Save the view.
Supporting organizations: 

Project information

Releases