CoreShop icon indicating copy to clipboard operation
CoreShop copied to clipboard

[IndexBundle] Add OpenSearch Index Worker

Open aarongerig opened this issue 8 months ago • 3 comments

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no

This PR adds support to CoreShop Index to use OpenSearch as its index engine. It integrates with the Pimcore OpenSearch Client Bundle to configure one or multiple OpenSearch clients.

Index settings

Since OpenSearch's index settings are complex and have many different options, I've included the possibility to hook into the creation/update process via an event listener. This should make it very easy to extend the default configuration, which is passed on to the OpenSearch API.

To start, I've added the following config options:

  • Number of Shards
  • Number of Replicas

Index Mapping

The mapping is following best practices with "explicit mapping" of all fields. The field types as well as language analyzers are added automatically.

aarongerig avatar May 07 '25 12:05 aarongerig

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

github-actions[bot] avatar May 07 '25 12:05 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA

aarongerig avatar May 07 '25 13:05 aarongerig