Update annindexes.md

This commit is contained in:
Robert Schulze 2022-11-28 11:23:08 +01:00 committed by GitHub
parent d587b3f978
commit 8655d1d4d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ In these queries, `DistanceFunction` is selected from [distance functions](../..
ANN index can't speed up query that satisfies both types (`where + order by`, only one of them). All queries must have the limit, as algorithms are used to find nearest neighbors and need a specific number of them.
:::
::note
:::note
Indexes are applied only to queries with a limit less than the `max_limit_for_ann_queries` setting. This helps to avoid memory overflows in queries with a large limit. `max_limit_for_ann_queries` setting can be changed if you know you can provide enough memory. The default value is `1000000`.
:::