We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add3200 commit e753f45Copy full SHA for e753f45
spec/meilisearch/index/search/ranking_score_threshold_spec.rb
@@ -4,10 +4,10 @@
4
include_context 'search books with genre'
5
6
it 'does a custom search with rankingScoreThreshold' do
7
- response = index.search('harry potter and the chamber of secrets', { rankingScoreThreshold: 0.9 })
+ response = index.search('harry potter and the prisoner of azkaban', { rankingScoreThreshold: 0.9 })
8
expect(response['hits'].count).to be(0)
9
10
response = index.search('harry potter and the', { rankingScoreThreshold: 0.3 })
11
- expect(response['hits'].count).to be(1)
+ expect(response['hits'].count).to be(2)
12
end
13
0 commit comments