Skip to content

disable default index creation

Neelesh Thakur requested to merge unsearchable-index into master

Addresses Issue #43 (closed)

We are seeing issues race condition (for very minor percentage) during index setup when a kind is ingested for very first time. Search backend (Elasticsearch) has index create cluster setting is enabled by default. This leads to index being created with default mapping and records are not discoverable via Search service.

This change-set, adds an API which disable the auto index creation, so only Indexer service can create the index. API should be configured to run with data partition onboarding pipelines by respective cloud providers.

Also update the IndexCache to be Partition safe as same OSDU schema/kind can exist on multiple partition in same environment.

Edited by Neelesh Thakur

Merge request reports