Skip to content

Conversation

@aarongerig
Copy link
Contributor

@aarongerig aarongerig commented May 7, 2025

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.

@github-actions
Copy link

github-actions bot commented May 7, 2025

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

@aarongerig
Copy link
Contributor Author

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

@aarongerig aarongerig marked this pull request as ready for review May 8, 2025 12:39
@aarongerig aarongerig changed the title [Feature] Add OpenSearch Index Worker [IndexBundle] Add OpenSearch Index Worker May 8, 2025
@dpfaffenbauer dpfaffenbauer self-requested a review June 26, 2025 11:27
@sonarqubecloud
Copy link

@dpfaffenbauer dpfaffenbauer merged commit 3137503 into coreshop:4.1 Jul 4, 2025
290 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants