File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,9 @@ give it a try.
3535 ```
3636* Use this field mapping:
3737```
38- {
3938 "embedding_vector": {
4039 "type": "binary",
4140 "doc_values": true
42- }
4341```
4442* The vector can be of any dimension
4543
@@ -148,7 +146,10 @@ def encode_array(arr):
148146
149147 Answer: this error happens when the plugin fails to access the field you specified in the ` field ` parameter in at least one of the documents.
150148
151- To solve it: make sure that ** all** the documents in your index contains the filed you specified in the ` field ` parameter.
149+ To solve it:
150+
151+ * make sure that **all** the documents in your index contains the filed you specified in the `field` parameter.
152152see more details [ here] ( https://github.com/lior-k/fast-elasticsearch-vector-scoring/issues/6 )
153+ * make sure that the filed you specified in the ` field ` parameter has a ` binary ` type in the index mapping
153154
154155
You can’t perform that action at this time.
0 commit comments