Java Client - Derived Type Mappings

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.1.0

Describe the issue:

OpenSearch has supported Derived fields since 2.15 ( Derived - OpenSearch Documentation ), but it appears the java client org.opensearch.client.opensearch._types.mapping.TypeMapping or org.opensearch.client.opensearch.core.SearchRequest class hasn’t been updated to include this field.

As such, I can’t see to use the Java client to create index templates or submit searches using derived fields. Am I missing something, or is this just not implemented?

I can use the REST API to add this to templates and during search requests, so it is supported (albeit not well documented for template creation).

I see there was no feedback here, we are seeing the same and adding this comment to allow the query from the original posted get another 2 months for commentary from the opensearch experts

I submitted this pr to get the openapi spec updated, and have another pr ready to update the java client too, but they are going unnoticed by the maintainers

opensearch-project/opensearch-api-specification/pull/976

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.