Based on the documentation, I am trying to create an index with the nested vector field using byte
as the underlying data type:
PUT docs_byte
{
"settings" : {
"index" : {
"number_of_shards" : 1,
"number_of_replicas" : 1
}
},
"mappings": {
"properties": {
"title": {
"type": "text"
},
"ideas": {
"type": "nested",
"properties": {
"vector": {
"type": "knn_vector",
"dimension": 384,
"data_type": "byte"
}
}
}
}
}
}
I get the error unknown parameter [data_type] on mapper [vector] of type [knn_vector]
. What am I missing?