Migrate DenseVectorProperty.elementType from String to DenseVectorElementType enum
ProprietaryIn 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. MigrateDenseVectorElementTypemod run . --recipe= io. moderne. elastic. elastic9. MigrateDenseVectorElementTypeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.