Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 3, 2024
1 parent 98766a5 commit 6d74c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/searchkick/query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ def prepare
field.to_sym => {
vector: vector,
k: k,
num_candidates: [(k * 1.5).round, 40].min,
filter: filter
}
}
Expand All @@ -556,6 +555,7 @@ def prepare
field: field,
query_vector: vector,
k: k,
num_candidates: [[(k * 4).round, 40].max, 10000].min,
filter: filter
}
end
Expand Down

0 comments on commit 6d74c2f

Please sign in to comment.