@@ -139,8 +139,8 @@ public function test_if_the_search_method_builds_correct_payload()
139
139
'query ' => [
140
140
'bool ' => [
141
141
'must ' => [
142
- 'match ' => [
143
- '_all ' => 'test query '
142
+ 'query_string ' => [
143
+ 'query ' => 'test query '
144
144
]
145
145
]
146
146
]
@@ -169,8 +169,8 @@ public function test_if_the_search_method_with_specified_limit_builds_correct_pa
169
169
'query ' => [
170
170
'bool ' => [
171
171
'must ' => [
172
- 'match ' => [
173
- '_all ' => 'test query '
172
+ 'query_string ' => [
173
+ 'query ' => 'test query '
174
174
]
175
175
]
176
176
]
@@ -200,8 +200,8 @@ public function test_if_the_search_method_with_specified_order_builds_correct_pa
200
200
'query ' => [
201
201
'bool ' => [
202
202
'must ' => [
203
- 'match ' => [
204
- '_all ' => 'test query '
203
+ 'query_string ' => [
204
+ 'query ' => 'test query '
205
205
]
206
206
]
207
207
]
@@ -233,8 +233,8 @@ public function test_if_the_search_method_with_specified_where_clause_builds_cor
233
233
'query ' => [
234
234
'bool ' => [
235
235
'must ' => [
236
- 'match ' => [
237
- '_all ' => 'phone '
236
+ 'query_string ' => [
237
+ 'query ' => 'phone '
238
238
]
239
239
],
240
240
'filter ' => [
@@ -321,8 +321,8 @@ public function test_if_the_search_method_with_specified_whereIn_clause_builds_c
321
321
'query ' => [
322
322
'bool ' => [
323
323
'must ' => [
324
- 'match ' => [
325
- '_all ' => 'test query '
324
+ 'query_string ' => [
325
+ 'query ' => 'test query '
326
326
]
327
327
],
328
328
'filter ' => [
@@ -362,8 +362,8 @@ public function test_if_the_search_method_with_specified_whereNotIn_clause_build
362
362
'query ' => [
363
363
'bool ' => [
364
364
'must ' => [
365
- 'match ' => [
366
- '_all ' => 'test query '
365
+ 'query_string ' => [
366
+ 'query ' => 'test query '
367
367
]
368
368
],
369
369
'filter ' => [
@@ -403,8 +403,8 @@ public function test_if_the_search_method_with_specified_whereBetween_clause_bui
403
403
'query ' => [
404
404
'bool ' => [
405
405
'must ' => [
406
- 'match ' => [
407
- '_all ' => 'test query '
406
+ 'query_string ' => [
407
+ 'query ' => 'test query '
408
408
]
409
409
],
410
410
'filter ' => [
@@ -447,8 +447,8 @@ public function test_if_the_search_method_with_specified_whereNotBetween_clause_
447
447
'query ' => [
448
448
'bool ' => [
449
449
'must ' => [
450
- 'match ' => [
451
- '_all ' => 'test query '
450
+ 'query_string ' => [
451
+ 'query ' => 'test query '
452
452
]
453
453
],
454
454
'filter ' => [
@@ -491,8 +491,8 @@ public function test_if_the_search_method_with_specified_whereExists_clause_buil
491
491
'query ' => [
492
492
'bool ' => [
493
493
'must ' => [
494
- 'match ' => [
495
- '_all ' => 'test query '
494
+ 'query_string ' => [
495
+ 'query ' => 'test query '
496
496
]
497
497
],
498
498
'filter ' => [
@@ -532,8 +532,8 @@ public function test_if_the_search_method_with_specified_whereNotExists_clause_b
532
532
'query ' => [
533
533
'bool ' => [
534
534
'must ' => [
535
- 'match ' => [
536
- '_all ' => 'test query '
535
+ 'query_string ' => [
536
+ 'query ' => 'test query '
537
537
]
538
538
],
539
539
'filter ' => [
@@ -573,8 +573,8 @@ public function test_if_the_search_method_with_specified_whereRegexp_clause_buil
573
573
'query ' => [
574
574
'bool ' => [
575
575
'must ' => [
576
- 'match ' => [
577
- '_all ' => 'phone '
576
+ 'query_string ' => [
577
+ 'query ' => 'phone '
578
578
]
579
579
],
580
580
'filter ' => [
@@ -617,8 +617,8 @@ public function test_if_the_search_method_with_specified_whereGeoDistance_clause
617
617
'query ' => [
618
618
'bool ' => [
619
619
'must ' => [
620
- 'match ' => [
621
- '_all ' => 'flat '
620
+ 'query_string ' => [
621
+ 'query ' => 'flat '
622
622
]
623
623
],
624
624
'filter ' => [
@@ -663,8 +663,8 @@ public function test_if_the_search_method_with_specified_whereGeoBoundingBox_cla
663
663
'query ' => [
664
664
'bool ' => [
665
665
'must ' => [
666
- 'match ' => [
667
- '_all ' => 'flat '
666
+ 'query_string ' => [
667
+ 'query ' => 'flat '
668
668
]
669
669
],
670
670
'filter ' => [
@@ -713,8 +713,8 @@ public function test_if_the_search_method_with_specified_whereGeoPolygon_clause_
713
713
'query ' => [
714
714
'bool ' => [
715
715
'must ' => [
716
- 'match ' => [
717
- '_all ' => 'flat '
716
+ 'query_string ' => [
717
+ 'query ' => 'flat '
718
718
]
719
719
],
720
720
'filter ' => [
@@ -871,8 +871,8 @@ public function test_if_the_paginate_method_builds_correct_payload()
871
871
'query ' => [
872
872
'bool ' => [
873
873
'must ' => [
874
- 'match ' => [
875
- '_all ' => 'test query '
874
+ 'query_string ' => [
875
+ 'query ' => 'test query '
876
876
]
877
877
]
878
878
]
@@ -983,8 +983,8 @@ public function test_if_the_explain_method_builds_correct_payload()
983
983
'query ' => [
984
984
'bool ' => [
985
985
'must ' => [
986
- 'match ' => [
987
- '_all ' => 'test query '
986
+ 'query_string ' => [
987
+ 'query ' => 'test query '
988
988
]
989
989
]
990
990
]
@@ -1014,8 +1014,8 @@ public function test_if_the_profile_method_builds_correct_payload()
1014
1014
'query ' => [
1015
1015
'bool ' => [
1016
1016
'must ' => [
1017
- 'match ' => [
1018
- '_all ' => 'test query '
1017
+ 'query_string ' => [
1018
+ 'query ' => 'test query '
1019
1019
]
1020
1020
]
1021
1021
]
0 commit comments