File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed
Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,6 @@ get_indexes_stats_1: |-
166166 client.stats
167167get_health_1 : |-
168168 client.health
169- update_health_1 : |-
170- client.update_health(false)
171169get_version_1 : |-
172170 client.version
173171distinct_attribute_guide_1 : |-
@@ -195,8 +193,8 @@ field_properties_guide_displayed_1: |-
195193filtering_guide_1 : |-
196194 index.search('Avengers', { filters: 'release_date > 795484800' })
197195filtering_guide_2 : |-
198- index.search('Batman', {
199- filters: 'release_date > 795484800 AND (director = "Tim Burton" OR director = "Christopher Nolan")'
196+ index.search('Batman', {
197+ filters: 'release_date > 795484800 AND (director = "Tim Burton" OR director = "Christopher Nolan")'
200198 })
201199filtering_guide_3 : |-
202200 index.search('horror', { filters: 'director = "Jordan Peele"' })
@@ -207,11 +205,11 @@ filtering_guide_4: |-
207205search_parameter_guide_query_1 : |-
208206 index.search('shifu')
209207search_parameter_guide_offset_1 : |-
210- index.search('shifu', {
208+ index.search('shifu', {
211209 offset: 1
212210 })
213211search_parameter_guide_limit_1 : |-
214- index.search('shifu', {
212+ index.search('shifu', {
215213 limit: 2
216214 })
217215search_parameter_guide_retrieve_1 : |-
Original file line number Diff line number Diff line change @@ -63,10 +63,6 @@ def health
6363 http_get '/health'
6464 end
6565
66- def update_health ( bool )
67- http_put '/health' , health : bool
68- end
69-
7066 ### STATS
7167
7268 def version
Original file line number Diff line number Diff line change 1212 expect ( wrong_client . healthy? ) . to be false
1313 end
1414
15- it 'sets unhealthy' do
16- client . update_health ( false )
17- expect ( client . healthy? ) . to be false
18- client . update_health ( true )
19- end
2015end
You can’t perform that action at this time.
0 commit comments