Advance binary doc runtime error #354
-
I am hitting this error.
I am having trouble debugging this because I don't understand what a 'binary doc values reader' is and when/why it needs to be advanced. Any pointers would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
alexklibisz
Apr 23, 2022
Replies: 1 comment 3 replies
-
Can you double check that all documents in the index have a vector field populated? From the error message:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"DocValues" are a way to store some data associated with a specific document. DocValues don't get indexed, so you save on storage and memory and they also have some other benefits for performance. See this document for more: https://solr.apache.org/guide/6_6/docvalues.html
A binary doc value is just a doc value that happens to be a byte array. Elastiknn vectors are encoded to byte arrays and stored as binary doc values.
So the BinaryDocValues is a class that lets us read the binary doc value for a specific document, identified by an ID. I refer to it as a "binary doc values reader" in that error message, but I believe the actual class is called BinaryDocValues.
The last error you posted s…