This module allows you to display search results from Elasticsearch within Drupal's Views system. You can configure views to use Elasticsearch as a data source and build custom queries to fetch and present search results.
Elasticsearch Helper Views module provides a way to display Elasticsearch results using Drupal Views.
Requirements
- Elasticsearch Helper module
Installation
Elasticsearch Helper Views module can be installed via the
standard Drupal installation process.
- Install
Elasticsearchsearch engine (how-to). - Install and enable Elasticsearch Helper module.
- Install and enable Elasticsearch Helper Views module.
Usage
- Install Elasticsearch search engine (how-to).
- Install the Elasticsearch Helper module, configure it and create indices using
ElasticsearchIndextype plugins in a custom module. - Create an
ElasticsearchQueryBuildertype plugin in a custom module. - 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 forelasticsearch_resultdata type. - Create a view and select Elasticsearch result as a data type.
- 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.
- Save the view.
Ask your assistant about Elasticsearch Helper Views
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- elasticsearch_helper Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.