| title | OpenSearch Client Setup |
|---|---|
| description | Configure OpenSearch as the search engine for the Generic Data Index bundle. |
:::info
Supported OpenSearch versions: 2.7 to 2.19
:::
Configuration requires two steps:
- Configure an OpenSearch client via Pimcore OpenSearch Client.
- Assign the client to the Generic Data Index bundle.
# 1. OpenSearch client configuration
pimcore_open_search_client:
clients:
default:
hosts: ['https://opensearch:9200']
password: 'admin'
username: 'admin'
ssl_verification: false
# 2. Assign client to Generic Data Index
pimcore_generic_data_index:
index_service:
client_params:
client_name: defaultFor additional client options, see the Pimcore OpenSearch Client documentation.
OpenSearch creates indices automatically when storing data to a nonexistent index. This causes incorrect indices and missing aliases. Disable this in your OpenSearch configuration:
action.auto_create_index=false