PreviousNext Introduces New Search API OpenSearch Module

PreviousNext has created a new Search API OpenSearch module using a fork of Elasticsearch Connector. The module provides a Search API backend for OpenSearch. The module uses the official OpenSearch PHP Client. The reason behind the creation of this new Search API OpenSearch module is that: AWS Cloud Services has deprecated Elasticsearch and is migrating all of its managed services to OpenSearch.

PreviousNext started the process to fork Elasticsearch Connector by rewriting the key goals behind the structure of the module. They were:

  • Clear separation of responsibilities for code
  • Use dependency injection wherever possible
  • Avoid static methods
  • Ensure a high-level of unit and kernel test code coverage
  • Start with the basic features

Elasticsearch Connector provides two config entities: Cluster and Index, for storing configuration. It then wraps these to support Search API. The idea is to simplify this and leverage the existing Search API Server and Index config entities directly and tie it more cleanly into the Search API ecosystem.

Recognizing that there are many different hosting providers that have their own way of authenticating connections, PreviousNext created a new Connector plugin type with basic auth supported out of the box, to allow 3rd-party modules to easily add their own.

The initial goal of the module creation is to provide basic indexing and search functionality. So far the module supports:

  • Indexing, including mapping fields
  • Searching
  • Views
  • Search Pages
  • Facets
  • More Like This

PreviousNext wants to make the module as extendable as possible via services, events and plugins so that the user can shape it to suit their specific needs.

The Search API OpenSearch module is not covered by Drupal’s security advisory policy. 

To read the whole story (including the reason) behind the creation of this module:

PreviousNext blog
Drupal. org 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please let us know in the comments below and we will try to address the issue as best we can.

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here

Call for Support