Migrate SpanTermQuery.value() from String to FieldValue
ProprietaryIn Elasticsearch 9, SpanTermQuery.value() returns a FieldValue instead of String. This recipe updates calls to handle the new return type by checking if it's a string and extracting the string value.
io. moderne. elastic. elastic9. MigrateSpanTermQueryValuemod run . --recipe= io. moderne. elastic. elastic9. MigrateSpanTermQueryValueInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.