You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
We need a possibility to unset vector for the document, unfortunately, unlike other types: we cannot set null, since we get error:
"error": {
"type": "mapper_parsing_exception",
"reason": "failed to parse field [my_vector2] of type [knn_vector] in document with id '10'. Preview of field's value: 'null'",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "Vector dimension mismatch. Expected: 4, Given: 0"
}
}
The text was updated successfully, but these errors were encountered:
Hronom
changed the title
Provide possibility to unset value for vector(reset)
Provide possibility to unset value for vector field(reset)
Apr 15, 2021
I've opened this git to ask for the same feature. lol
Just to add more context: I wan't to free disk usage / memory pressure eliminating just the embedding field and setting the status of the document as False.
Do we have any other way to achieve this until this feature isn't implemented?
Hi @marcoaleixo@Hronom ,
Like @vamshin mentioned, we will work on allowing setting null value to the knn field vector. In the meantime, have you tried removing the field from the document using update api?
We need a possibility to unset vector for the document, unfortunately, unlike other types: we cannot set
null
, since we get error:The text was updated successfully, but these errors were encountered: