File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ update_settings_1: |-
5656 rankingRules: [
5757 'words',
5858 'typo',
59- 'sort',
6059 'proximity',
6160 'attribute',
61+ 'sort',
6262 'exactness',
6363 'desc(release_date)',
6464 'rank:desc'
@@ -113,9 +113,9 @@ update_ranking_rules_1: |-
113113 client.index('movies').update_ranking_rules([
114114 'words',
115115 'typo',
116- 'sort',
117116 'proximity',
118117 'attribute',
118+ 'sort',
119119 'exactness',
120120 'release_date:asc',
121121 'rank:desc'
@@ -250,9 +250,9 @@ settings_guide_ranking_rules_1: |-
250250 rankingRules: [
251251 'words',
252252 'typo',
253- 'sort',
254253 'proximity',
255254 'attribute',
255+ 'sort',
256256 'exactness',
257257 'release_date:asc',
258258 'rank:desc'
Original file line number Diff line number Diff line change 7373 @index . wait_for_pending_update ( response [ 'updateId' ] )
7474 response = @index . update_sortable_attributes ( [ 'year' , 'author' ] )
7575 @index . wait_for_pending_update ( response [ 'updateId' ] )
76+ response = @index . update_ranking_rules ( [
77+ 'sort' ,
78+ 'words' ,
79+ 'typo' ,
80+ 'proximity' ,
81+ 'attribute' ,
82+ 'exactness'
83+ ] )
84+ @index . wait_for_pending_update ( response [ 'updateId' ] )
7685 end
7786
7887 after ( :all ) do
Original file line number Diff line number Diff line change 1010 [
1111 'words' ,
1212 'typo' ,
13- 'sort' ,
1413 'proximity' ,
1514 'attribute' ,
15+ 'sort' ,
1616 'exactness'
1717 ]
1818 end
You can’t perform that action at this time.
0 commit comments