Problem Statement
Under ES→OS migration phase 3 (OpenSearch-only), parsing the sitesearch index settings via the OpenSearch Java client fails to deserialize, throwing a MissingRequiredPropertyException:
ContentletIndexAPIImplTest.testSearch <<< ERROR!
java.io.IOException: Failed to parse index settings for: sitesearch_20260625165130
Caused by: com.dotmarketing.business.DotStateException: Failed to parse index settings for: sitesearch_20260625165130
Caused by: org.opensearch.client.util.MissingRequiredPropertyException: Missing required property 'Builder.<variant kind>'
The opensearch-java client cannot build the settings object for the sitesearch index — a deserialization/mapping gap in the OS settings-read path (likely an index-settings shape the OS client builder requires but isn't provided).
Steps to Reproduce
./mvnw verify -pl :dotcms-integration -Dcoreit.test.skip=false \
-Dopensearch.phase.test=true -Dopensearch.phase=3 \
-Dit.test=ContentletIndexAPIImplTest
testSearch errors parsing sitesearch_<ts> index settings.
Acceptance Criteria
dotCMS Version
main (dev / 1.0.0-SNAPSHOT) — ES→OS migration work.
Severity
High
Links
Found via blast-radius experiment in PR #36268 / issue #36266. Related test-decoupling: #36320.
Problem Statement
Under ES→OS migration phase 3 (OpenSearch-only), parsing the sitesearch index settings via the OpenSearch Java client fails to deserialize, throwing a
MissingRequiredPropertyException:The
opensearch-javaclient cannot build the settings object for the sitesearch index — a deserialization/mapping gap in the OS settings-read path (likely an index-settings shape the OS client builder requires but isn't provided).Steps to Reproduce
testSearcherrors parsingsitesearch_<ts>index settings.Acceptance Criteria
MissingRequiredPropertyException.ContentletIndexAPIImplTest.testSearchpasses under phase 3.dotCMS Version
main (dev / 1.0.0-SNAPSHOT) — ES→OS migration work.
Severity
High
Links
Found via blast-radius experiment in PR #36268 / issue #36266. Related test-decoupling: #36320.