According to this: Dense vector field type | Elasticsearch Guide [8.5] | Elastic
dense_vector
field is supposed to support synthetic source.
I just tried to create an index with the mapping like this:
"mappings": {
"_source": {"mode": "synthetic"},
"title_vector": {
"type": "dense_vector",
"dims": 1024,
"index": true,
"similarity": "dot_product"
},
and got an error:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "field [title_vector] of type [dense_vector] doesn't support synthetic source"
}
],
"type": "illegal_argument_exception",
"reason": "field [title_vector] of type [dense_vector] doesn't support synthetic source"
},
"status": 400
}
So does dense_vector support synthetic source or not?