Skip to content

Commit 8f83819

Browse files
russcamjimczi
authored andcommitted
Remove parent query string parameter (#41098)
This commit removes the deprecated parent query string parameter. The routing parameter should be used instead.
1 parent b759947 commit 8f83819

File tree

11 files changed

+0
-46
lines changed

11 files changed

+0
-46
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
"type" : "string",
3434
"description" : "Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)"
3535
},
36-
"parent": {
37-
"type" : "string",
38-
"description" : "ID of the parent document"
39-
},
4036
"refresh": {
4137
"type" : "enum",
4238
"options": ["true", "false", "wait_for"],

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
"type" : "string",
3434
"description" : "Sets the number of shard copies that must be active before proceeding with the delete operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)"
3535
},
36-
"parent": {
37-
"type" : "string",
38-
"description" : "ID of parent document"
39-
},
4036
"refresh": {
4137
"type" : "enum",
4238
"options": ["true", "false", "wait_for"],

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
"type": "list",
3434
"description" : "A comma-separated list of stored fields to return in the response"
3535
},
36-
"parent": {
37-
"type" : "string",
38-
"description" : "The ID of the parent document"
39-
},
4036
"preference": {
4137
"type" : "string",
4238
"description" : "Specify the node or shard the operation should be performed on (default: random)"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
}
3131
},
3232
"params": {
33-
"parent": {
34-
"type" : "string",
35-
"description" : "The ID of the parent document"
36-
},
3733
"preference": {
3834
"type" : "string",
3935
"description" : "Specify the node or shard the operation should be performed on (default: random)"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
"type" : "boolean",
5656
"description" : "Specify whether format-based query failures (such as providing text to a numeric field) should be ignored"
5757
},
58-
"parent": {
59-
"type" : "string",
60-
"description" : "The ID of the parent document"
61-
},
6258
"preference": {
6359
"type" : "string",
6460
"description" : "Specify the node or shard the operation should be performed on (default: random)"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
"type": "list",
3434
"description" : "A comma-separated list of stored fields to return in the response"
3535
},
36-
"parent": {
37-
"type" : "string",
38-
"description" : "The ID of the parent document"
39-
},
4036
"preference": {
4137
"type" : "string",
4238
"description" : "Specify the node or shard the operation should be performed on (default: random)"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
}
3131
},
3232
"params": {
33-
"parent": {
34-
"type" : "string",
35-
"description" : "The ID of the parent document"
36-
},
3733
"preference": {
3834
"type" : "string",
3935
"description" : "Specify the node or shard the operation should be performed on (default: random)"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343
"default" : "index",
4444
"description" : "Explicit operation type"
4545
},
46-
"parent": {
47-
"type" : "string",
48-
"description" : "ID of the parent document"
49-
},
5046
"refresh": {
5147
"type" : "enum",
5248
"options": ["true", "false", "wait_for"],

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@
7373
"description" : "Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
7474
"required" : false
7575
},
76-
"parent" : {
77-
"type" : "string",
78-
"description" : "Parent id of documents. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
79-
"required" : false
80-
},
8176
"realtime": {
8277
"type": "boolean",
8378
"description": "Specifies if requests are real-time as opposed to near-real-time (default: true).",

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@
7979
"description" : "Specific routing value.",
8080
"required" : false
8181
},
82-
"parent": {
83-
"type" : "string",
84-
"description" : "Parent id of documents.",
85-
"required" : false
86-
},
8782
"realtime": {
8883
"type": "boolean",
8984
"description": "Specifies if request is real-time as opposed to near-real-time (default: true).",

0 commit comments

Comments
 (0)