Skip to content

Commit 77ce7b1

Browse files
authored
Use lowercase values for default_operator parameter (#136372) (#137109)
(cherry picked from commit 596b1ef) # Conflicts: # rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json
1 parent 3cceb31 commit 77ce7b1

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@
7878
"default_operator": {
7979
"type": "enum",
8080
"options": [
81-
"AND",
82-
"OR"
81+
"and",
82+
"or"
8383
],
84-
"default": "OR",
84+
"default": "or",
8585
"description": "The default operator for query string query (AND or OR)"
8686
},
8787
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/count.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@
9494
"default_operator": {
9595
"type": "enum",
9696
"options": [
97-
"AND",
98-
"OR"
97+
"and",
98+
"or"
9999
],
100-
"default": "OR",
100+
"default": "or",
101101
"description": "The default operator for query string query (AND or OR)"
102102
},
103103
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"default_operator": {
4444
"type": "enum",
4545
"options": [
46-
"AND",
47-
"OR"
46+
"and",
47+
"or"
4848
],
49-
"default": "OR",
49+
"default": "or",
5050
"description": "The default operator for query string query (AND or OR)"
5151
},
5252
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/explain.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
"default_operator": {
4949
"type": "enum",
5050
"options": [
51-
"AND",
52-
"OR"
51+
"and",
52+
"or"
5353
],
54-
"default": "OR",
54+
"default": "or",
5555
"description": "The default operator for query string query (AND or OR)"
5656
},
5757
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@
8282
"default_operator": {
8383
"type": "enum",
8484
"options": [
85-
"AND",
86-
"OR"
85+
"and",
86+
"or"
8787
],
88-
"default": "OR",
88+
"default": "or",
8989
"description": "The default operator for query string query (AND or OR)"
9090
},
9191
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/search.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
"default_operator": {
5757
"type": "enum",
5858
"options": [
59-
"AND",
60-
"OR"
59+
"and",
60+
"or"
6161
],
62-
"default": "OR",
62+
"default": "or",
6363
"description": "The default operator for query string query (AND or OR)"
6464
},
6565
"df": {

rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"default_operator": {
4444
"type": "enum",
4545
"options": [
46-
"AND",
47-
"OR"
46+
"and",
47+
"or"
4848
],
49-
"default": "OR",
49+
"default": "or",
5050
"description": "The default operator for query string query (AND or OR)"
5151
},
5252
"df": {

0 commit comments

Comments
 (0)