Hello Team,
We use elasticsearch-java client 8.1.3 to ingest the data and switch the alias. We are utilising the same logic with additional mapping and pipeline added for ingesting the data for Elser2. We observed that an index has been created with the mapping and data is also being inserted to the index with embeddings. But can't switch the alias and shows error "Cannot switch alias because: Error deserializing co.elastic.clients.elasticsearch._types.mapping.Property: Unknown 'type' value: 'sparse_vector' (JSON path: [''].mappings.properties.) (line no=1, column no=5121, offset=-1)".
Could you please point us out what are we doing wrong?