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 ee931eb commit 8ec26baCopy full SHA for 8ec26ba
docs/search-operations.asciidoc
@@ -183,7 +183,7 @@ curl -XGET 'localhost:9200/my_index/my_type/_search' -d '{
183
"filter" : {
184
"term" : { "my_field" : "abc" }
185
},
186
- "query" : {
+ "should" : {
187
"match" : { "my_other_field" : "xyz" }
188
}
189
@@ -205,7 +205,7 @@ $params = [
205
'filter' => [
206
'term' => [ 'my_field' => 'abc' ]
207
],
208
- 'query' => [
+ 'should' => [
209
'match' => [ 'my_other_field' => 'xyz' ]
210
]
211
0 commit comments