Skip to content

Commit

Permalink
Update docs/vectors.md to reflect latest (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdangeti authored Aug 5, 2024
1 parent 4920071 commit 807d89b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/vectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@

* The `vector` field type is an array that is to hold float32 values only.
* The `vector_base64` field type to support base64 encoded strings using little endian byte ordering (v2.4.1+)
* Currently supported similarity metrics are: [`"l2_norm"`, `"dot_product"`].
* Supported similarity metrics are: [`"cosine"` (v2.4.3+), `"dot_product"`, `"l2_norm"`].
* `cosine` paths will additionally normalize vectors before indexing and search.
* Supported dimensionality is between 1 and 2048 (v2.4.0), and up to **4096** (v2.4.1+).
* Supported vector index optimizations: `recall`, `latency`, `memory_efficient` (v2.4.1+)
* Supported vector index optimizations: `latency`, `memory_efficient` (v2.4.1+), `recall`.
* Vectors from documents that do not conform to the index mapping dimensionality are simply discarded at index time.
* The dimensionality of the query vector must match the dimensionality of the indexed vectors to obtain any results.
* Pure kNN searches can be performed, but the `query` attribute within the search request must be set - to `{"match_none": {}}` in this case. The `query` attribute is made optional when `knn` is available with v2.4.1+.
Expand Down

0 comments on commit 807d89b

Please sign in to comment.