File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
spec/meilisearch/index/search Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 3636
3737 it 'does a custom placeholder search with an offset set to 3 and custom ranking rules' do
3838 response = @index . update_ranking_rules ( [
39- 'typo' ,
40- 'words' ,
41- 'proximity' ,
42- 'attribute' ,
43- 'wordsPosition' ,
44- 'exactness' ,
45- 'asc(objectId)'
46- ] )
39+ 'typo' ,
40+ 'words' ,
41+ 'proximity' ,
42+ 'attribute' ,
43+ 'wordsPosition' ,
44+ 'exactness' ,
45+ 'asc(objectId)'
46+ ] )
4747 @index . wait_for_pending_update ( response [ 'updateId' ] )
4848 response = @index . search ( '' )
4949 response_with_offset = @index . search ( '' , offset : 3 )
Original file line number Diff line number Diff line change 4747
4848 it 'does a basic search with an empty query and a custom ranking rule' do
4949 response = @index . update_ranking_rules ( [
50- 'typo' ,
51- 'words' ,
52- 'proximity' ,
53- 'attribute' ,
54- 'wordsPosition' ,
55- 'exactness' ,
56- 'asc(objectId)'
57- ] )
50+ 'typo' ,
51+ 'words' ,
52+ 'proximity' ,
53+ 'attribute' ,
54+ 'wordsPosition' ,
55+ 'exactness' ,
56+ 'asc(objectId)'
57+ ] )
5858 @index . wait_for_pending_update ( response [ 'updateId' ] )
5959 response = @index . search ( '' )
6060 expect ( response [ 'nbHits' ] ) . to eq ( @documents . count )
You can’t perform that action at this time.
0 commit comments