es_filter_analyser
This module provides a global and centralized way to manage ElasticSearch filters and analyzers through Search API ( through elasticsearch-connector.
Features
- Filter management
Creation of filters as configuration entities that map native ElasticSearch filters and allow them to be configured as needed (for example, choose stemmer language).
- Analyzer management
Creation of analyzers as separate configuration entities. Multiple filters can be assembled into a single analyzer.
- Index integration
Automatic injection of filters and analyzers into the ElasticSearch index when it is rebuilt, via a Search API plugin.
- Field mapping support
Ability to assign analyzers field by field and inject this information in the field mapping level during index regeneration.
- Query-time analyzers
Injection of a search_analyzer at query time when searching the index.
NOTE :
By default, the elasticsearch_connector module provides analyzers as plugins.
I chose instead to implement them as configuration entities, in order to make them easier to manage and reuse.
The proposed implementation aims to mirror how components are configured in an ElasticSearch index:
- the native engine plugin,
- the filter, which configures that plugin,
- the analyzer, which combines multiple filters.
Similar projects
- Elasticsearch Connector : provide a configuration for a synonym_graph filter and an anlyser with some basics filters (lowercase , asciifolding , synonyms).
- Search API Elasticsearch Stopwords: Provide a basic configuration for stopwords
- Search API Elasticsearch Synonym : Provide a basic configuration for a synonyme filter
- Elasticsearch Connector Ngram analyzer : Provide a Ngram filter & analyser