Problem/Motivation

We have a very specific use case for decoupled search which is:

  • index drupal content in OpenSearch on AWS using search_api to do field mapping etc
  • query the index via a ReactJs front-end (via a proxy)
  • no need for views integration, facets etc.

On reviewing this module it seems it has way more features than what we need.

It also appears to have trouble keeping up with all the version increments, and various forks, BC support, as well as a hierarchy of dependencies (and their release cadence):

  • nodespark/des-connector
    • elasticsearch/elasticsearch
      • ezimuel/ringphp (fork of guzzle/ringphp)

We would like something simple that:

  • uses the official opensearch php client (not yet released https://github.com/opensearch-project)
  • only implements the minimal api to achieve the use case above
  • has minimal dependencies

We'd be keen to collaborate on this but realise your release numbering system is tied to the ES versions, which would make creating a new major branch just for this problematic, so are considering starting a new project to achieve this.

I was hoping to get the thoughts and guidance of the project maintainers first, before heading down that path.

Comments

kim.pepper created an issue. See original summary.

kim.pepper’s picture

Bumping this. Any views on this approach?

kim.pepper’s picture

After looking at this for a while 'minimal' seems pretty hard to achieve given all the translation from search api to elasticsearch api. However, I still think having to support both elasticsearch and opensearch client libs is going to be a bridge too far for this module.

sokru’s picture

I'd be very much in favor of supporting also OpenSearch on this module, but I fear that on some point it might become hard, given that Elastic maintained libraries refuse connecting OpenSearch clusters.

kim.pepper’s picture

Status: Active » Fixed

I just blogged about Search API OpenSearch https://www.previousnext.com.au/blog/introducing-search-api-opensearch and cut the first alpha https://www.drupal.org/project/search_api_opensearch

Closing this issue for now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.