This section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 7.6.
Deprecation of sparse vector fieldsedit
sparse_vector field type has been deprecated and will be removed in 8.0.
We have not seen much interest in this experimental field type, and don’t see
a clear use case as it’s currently designed. If you have feedback or
suggestions around sparse vector functionality, please let us know through
GitHub or the discuss forums.
Update to vector function signaturesedit
The vector functions of the form
function(query, doc['field']) are
deprecated, and the form
function(query, 'field') should be used instead.
cosineSimilarity(query, doc['field']) is replaced by
Disallow use of the
edgeNGram tokenizer namesedit
edgeNGram tokenizer names haven been deprecated with 7.6.
Mappings for indices created after 7.6 will continue to work but emit a
deprecation warning. The tokenizer name should be changed to the fully
edge_ngram names for new indices and in index