Skip to content

Commit 9af765f

Browse files
authored
Add table header to approximate k-NN (opensearch-project#7280)
Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
1 parent 6732d2f commit 9af765f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_search-plugins/knn/approximate-knn.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ For any engine, each shard returns `size` results to the coordinator node. Thus,
138138
The following table provides examples of the number of results returned by various engines in several scenarios. For these examples, assume that the number of documents contained in the segments and shards is sufficient to return the number of results specified in the table.
139139

140140
`size` | `k` | Number of primary shards | Number of segments per shard | Number of returned results, Faiss/NMSLIB | Number of returned results, Lucene
141+
:--- | :--- | :--- | :--- | :--- | :---
141142
10 | 1 | 1 | 4 | 4 | 1
142143
10 | 10 | 1 | 4 | 10 | 10
143144
10 | 1 | 2 | 4 | 8 | 2
@@ -326,4 +327,4 @@ included in the distance function.
326327
With cosine similarity, it is not valid to pass a zero vector (`[0, 0, ...]`) as input. This is because the magnitude of
327328
such a vector is 0, which raises a `divide by 0` exception in the corresponding formula. Requests
328329
containing the zero vector will be rejected and a corresponding exception will be thrown.
329-
{: .note }
330+
{: .note }

0 commit comments

Comments
 (0)