Change numeric field type with conversion

Proprietary

Adds conversion methods with null checks for numeric type changes in Elasticsearch 9 API.

io.moderne.elastic.elastic9.ChangeApiNumericFieldType

Required

The fully qualified name of the class containing the field

The name of the field/method that has changed type

The new type that the field returns in Elasticsearch 9

mod run . --recipe=io.moderne.elastic.elastic9.ChangeApiNumericFieldType \ -P fullyQualifiedName=co.elastic.clients.elasticsearch.core.MsearchRequest \ -P field=maxConcurrentSearches \ -P targetType=java.lang.Integer

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.