Skip to content

Commit 31e1585

Browse files
committed
More fixes after CI run
1 parent 997cb46 commit 31e1585

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/en/engines/table-engines/mergetree-family/annindexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ClickHouse provides a special "vector similarity" index to perform approximate n
7878
:::note
7979
Vector similarity indexes are currently experimental.
8080
To enable them, please first run `SET allow_experimental_vector_similarity_index = 1`.
81-
If you run into problems, kindly open an issue in the [ClickHouse repository](github.com/clickhouse/clickhouse/issues).
81+
If you run into problems, kindly open an issue in the [ClickHouse repository](https://github.com/clickhouse/clickhouse/issues).
8282
:::
8383

8484
### Creating a Vector Similarity Index {#creating-a-vector-similarity-index}

src/Storages/MergeTree/MergeTreeIndexVectorSimilarity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ MergeTreeIndexConditionVectorSimilarity::MergeTreeIndexConditionVectorSimilarity
422422
{
423423
if (expansion_search == 0)
424424
throw Exception(ErrorCodes::INVALID_SETTING_VALUE, "Setting 'hnsw_candidate_list_size_for_search' must not be 0");
425-
if (!std::isfinite(postfilter_multiplier) || postfilter_multiplier < 0.0)
425+
if (!std::isfinite(postfilter_multiplier) || !std::isfinite(postfilter_multiplier * parameters->limit) || postfilter_multiplier < 0.0)
426426
throw Exception(ErrorCodes::INVALID_SETTING_VALUE, "Setting 'vector_search_postfilter_multiplier' must be bigger than 0.0");
427427
}
428428

tests/queries/0_stateless/02354_vector_search_postfiltering_bug.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Tags: no-fasttest, long, no-asan, no-ubsan, no-debug
1+
-- Tags: no-fasttest, long, no-asan, no-ubsan, no-msan, no-tsan, no-debug
22
-- Test for Bug 78161
33

44
SET allow_experimental_vector_similarity_index = 1;

0 commit comments

Comments
 (0)