Update approximate-knn.md (#6011)
* Update approximate-knn.md Updated a sentence. Signed-off-by: Madhan <45423614+madhankb@users.noreply.github.com> * Update _search-plugins/knn/approximate-knn.md Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --------- Signed-off-by: Madhan <45423614+madhankb@users.noreply.github.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
parent
17acbd0c9d
commit
3ccd28064e
|
@ -248,7 +248,11 @@ To learn about using filters with k-NN search, see [k-NN search with filters]({{
|
||||||
|
|
||||||
## Spaces
|
## Spaces
|
||||||
|
|
||||||
A space corresponds to the function used to measure the distance between two points in order to determine the k-nearest neighbors. From the k-NN perspective, a lower score equates to a closer and better result. This is the opposite of how OpenSearch scores results, where a greater score equates to a better result. To convert distances to OpenSearch scores, we take 1 / (1 + distance). The k-NN plugin the spaces the plugin supports are below. Not every method supports each of these spaces. Be sure to check out [the method documentation]({{site.url}}{{site.baseurl}}/search-plugins/knn/knn-index#method-definitions) to make sure the space you are interested in is supported.
|
A space corresponds to the function used to measure the distance between two points in order to determine the k-nearest neighbors. From the k-NN perspective, a lower score equates to a closer and better result. This is the opposite of how OpenSearch scores results, where a greater score equates to a better result. To convert distances to OpenSearch scores, we take 1 / (1 + distance). The k-NN plugin supports the following spaces.
|
||||||
|
|
||||||
|
Not every method supports each of these spaces. Be sure to check out [the method documentation]({{site.url}}{{site.baseurl}}/search-plugins/knn/knn-index#method-definitions) to make sure the space you are intersted in is supported.
|
||||||
|
{: note.}
|
||||||
|
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead style="text-align: center">
|
<thead style="text-align: center">
|
||||||
|
|
Loading…
Reference in New Issue