-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Description
Elasticsearch Version
8.12
Installed Plugins
No response
Java Version
bundled
OS Version
Alibaba Cloud Linux 3.2104 LTS 64-bit
Problem Description
Occasionally, an exception is returned when using the _mget API to retrieve documents:
ErrorCause: {"type":"illegal_argument_exception","reason":"Field [textVector] vector's dimensions must be <= [1024]; got 1536","root_cause":[{"type":"illegal_argument_exception","reason":"Field [textVector] vector's dimensions must be <= [1024]; got 1536"}]}
"mappings": {
"dynamic": "strict",
"_source": {
"mode": "synthetic"
},
"properties": {
"actId": {
"type": "keyword"
},
"actPublishTime": {
"type": "date"
},
"activityType": {
"type": "keyword"
},
"docModifyTime": {
"type": "date"
},
"firstCategoryIdList": {
"type": "long"
},
"ghId": {
"type": "keyword"
},
"goodsFirstPic": {
"type": "keyword"
},
"pactId": {
"type": "keyword"
},
"primaryCategory": {
"type": "keyword"
},
"startActId": {
"type": "keyword"
},
"text": {
"type": "keyword",
"index": false
},
"textVector": {
"type": "dense_vector",
"dims": 1536,
"index": true,
"similarity": "l2_norm"
}
}
}
Steps to Reproduce
1、Use dense_vector field.
2、Add documents.
3、Use _mget api.
Can not stable reproduce
Logs (if relevant)
No response