Migrate DenseVectorProperty.elementType from String to DenseVectorElementType enum

Proprietary

In Elasticsearch 9, DenseVectorProperty.elementType() returns DenseVectorElementType enum instead of String, and the builder method elementType(String) now accepts the enum type. This recipe handles both builder calls and getter calls.

io.moderne.elastic.elastic9.MigrateDenseVectorElementType
mod run . --recipe=io.moderne.elastic.elastic9.MigrateDenseVectorElementType

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