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).