Skip to content

Commit 68a2663

Browse files
authored
Use lowercase values for default_operator parameter (elastic#136372) (elastic#136462)
1 parent 9db5bf0 commit 68a2663

File tree

8 files changed

+27
-23
lines changed

8 files changed

+27
-23
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
@@ -98,10 +98,10 @@
9898
"default_operator": {
9999
"type": "enum",
100100
"options": [
101-
"AND",
102-
"OR"
101+
"and",
102+
"or"
103103
],
104-
"default": "OR",
104+
"default": "or",
105105
"description": "The default operator for query string query (AND or OR)"
106106
},
107107
"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/project.tags.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": ["application/json"]
10+
"accept": [
11+
"application/json"
12+
]
1113
},
1214
"url": {
1315
"paths": [
1416
{
1517
"path": "/_project/tags",
16-
"methods": ["GET"]
18+
"methods": [
19+
"GET"
20+
]
1721
}
1822
]
1923
}

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)