diff --git a/contrib/usearch b/contrib/usearch index d1d33eac94a..1706420acaf 160000 --- a/contrib/usearch +++ b/contrib/usearch @@ -1 +1 @@ -Subproject commit d1d33eac94acd3b628e0b446c927ec3295ef63c7 +Subproject commit 1706420acafbd83d852c512dcf343af0a4059e48 diff --git a/docs/en/engines/table-engines/mergetree-family/annindexes.md b/docs/en/engines/table-engines/mergetree-family/annindexes.md index d81f019dd40..636b379536e 100644 --- a/docs/en/engines/table-engines/mergetree-family/annindexes.md +++ b/docs/en/engines/table-engines/mergetree-family/annindexes.md @@ -139,7 +139,8 @@ clickhouse-client --param_vec='hello' --query="SELECT * FROM table WHERE L2Dista ::: To search using a different value of HNSW parameter `hnsw_candidate_list_size_for_search` (default: 64), also known as `ef_search` in the -original [HNSW paper](https://doi.org/10.1109/TPAMI.2018.2889473), with `SETTINGS hnsw_candidate_list_size_for_search = `. +original [HNSW paper](https://doi.org/10.1109/TPAMI.2018.2889473), run the `SELECT` query with `SETTINGS hnsw_candidate_list_size_for_search += `. **Restrictions**: Approximate algorithms used to determine the nearest neighbors require a limit, hence queries without `LIMIT` clause cannot utilize ANN indexes. Also, ANN indexes are only used if the query has a `LIMIT` value smaller than setting