@@ -609,9 +609,6 @@ public class CreateRequestParameters : RequestParameters<CreateRequestParameters
609609 /// shard (number of replicas + 1)
610610 ///</summary>
611611 public string WaitForActiveShards { get => Q < string > ( "wait_for_active_shards" ) ; set => Q ( "wait_for_active_shards" , value ) ; }
612- ///<summary>ID of the parent document</summary>
613- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
614- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
615612 ///<summary>
616613 /// If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this
617614 /// operation visible to search, if `false` (the default) then do nothing with refreshes.
@@ -638,9 +635,6 @@ public class DeleteRequestParameters : RequestParameters<DeleteRequestParameters
638635 /// shard (number of replicas + 1)
639636 ///</summary>
640637 public string WaitForActiveShards { get => Q < string > ( "wait_for_active_shards" ) ; set => Q ( "wait_for_active_shards" , value ) ; }
641- ///<summary>ID of parent document</summary>
642- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
643- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
644638 ///<summary>
645639 /// If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this
646640 /// operation visible to search, if `false` (the default) then do nothing with refreshes.
@@ -757,9 +751,6 @@ public class DocumentExistsRequestParameters : RequestParameters<DocumentExistsR
757751 public override HttpMethod DefaultHttpMethod => HttpMethod . HEAD ;
758752 ///<summary>A comma-separated list of stored fields to return in the response</summary>
759753 public string [ ] StoredFields { get => Q < string [ ] > ( "stored_fields" ) ; set => Q ( "stored_fields" , value ) ; }
760- ///<summary>The ID of the parent document</summary>
761- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
762- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
763754 ///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
764755 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
765756 ///<summary>Specify whether to perform the operation in realtime or search mode</summary>
@@ -783,9 +774,6 @@ public class DocumentExistsRequestParameters : RequestParameters<DocumentExistsR
783774 public class SourceExistsRequestParameters : RequestParameters < SourceExistsRequestParameters >
784775 {
785776 public override HttpMethod DefaultHttpMethod => HttpMethod . HEAD ;
786- ///<summary>The ID of the parent document</summary>
787- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
788- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
789777 ///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
790778 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
791779 ///<summary>Specify whether to perform the operation in realtime or search mode</summary>
@@ -821,9 +809,6 @@ public class ExplainRequestParameters : RequestParameters<ExplainRequestParamete
821809 public string [ ] StoredFields { get => Q < string [ ] > ( "stored_fields" ) ; set => Q ( "stored_fields" , value ) ; }
822810 ///<summary>Specify whether format-based query failures (such as providing text to a numeric field) should be ignored</summary>
823811 public bool ? Lenient { get => Q < bool ? > ( "lenient" ) ; set => Q ( "lenient" , value ) ; }
824- ///<summary>The ID of the parent document</summary>
825- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
826- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
827812 ///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
828813 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
829814 ///<summary>Query in the Lucene query string syntax</summary>
@@ -859,9 +844,6 @@ public class GetRequestParameters : RequestParameters<GetRequestParameters>
859844 public override HttpMethod DefaultHttpMethod => HttpMethod . GET ;
860845 ///<summary>A comma-separated list of stored fields to return in the response</summary>
861846 public string [ ] StoredFields { get => Q < string [ ] > ( "stored_fields" ) ; set => Q ( "stored_fields" , value ) ; }
862- ///<summary>The ID of the parent document</summary>
863- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
864- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
865847 ///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
866848 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
867849 ///<summary>Specify whether to perform the operation in realtime or search mode</summary>
@@ -892,9 +874,6 @@ public class GetScriptRequestParameters : RequestParameters<GetScriptRequestPara
892874 public class SourceRequestParameters : RequestParameters < SourceRequestParameters >
893875 {
894876 public override HttpMethod DefaultHttpMethod => HttpMethod . GET ;
895- ///<summary>The ID of the parent document</summary>
896- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
897- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
898877 ///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
899878 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
900879 ///<summary>Specify whether to perform the operation in realtime or search mode</summary>
@@ -926,9 +905,6 @@ public class IndexRequestParameters : RequestParameters<IndexRequestParameters>
926905 public string WaitForActiveShards { get => Q < string > ( "wait_for_active_shards" ) ; set => Q ( "wait_for_active_shards" , value ) ; }
927906 ///<summary>Explicit operation type</summary>
928907 public OpType ? OpType { get => Q < OpType ? > ( "op_type" ) ; set => Q ( "op_type" , value ) ; }
929- ///<summary>ID of the parent document</summary>
930- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
931- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
932908 ///<summary>
933909 /// If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this
934910 /// operation visible to search, if `false` (the default) then do nothing with refreshes.
@@ -1448,9 +1424,6 @@ public class IndicesShardStoresRequestParameters : RequestParameters<IndicesShar
14481424 public class ShrinkIndexRequestParameters : RequestParameters < ShrinkIndexRequestParameters >
14491425 {
14501426 public override HttpMethod DefaultHttpMethod => HttpMethod . PUT ;
1451- ///<summary>whether or not to copy settings from the source index (defaults to false)</summary>
1452- [ Obsolete ( "Scheduled to be removed in 7.0, Elasticsearch 6.4 will throw an exception if this is turned off see elastic/elasticsearch#30404" ) ]
1453- public bool ? CopySettings { get => Q < bool ? > ( "copy_settings" ) ; set => Q ( "copy_settings" , value ) ; }
14541427 ///<summary>Explicit operation timeout</summary>
14551428 public TimeSpan Timeout { get => Q < TimeSpan > ( "timeout" ) ; set => Q ( "timeout" , value ) ; }
14561429 ///<summary>Specify timeout for connection to master</summary>
@@ -1462,9 +1435,6 @@ public class ShrinkIndexRequestParameters : RequestParameters<ShrinkIndexRequest
14621435 public class SplitIndexRequestParameters : RequestParameters < SplitIndexRequestParameters >
14631436 {
14641437 public override HttpMethod DefaultHttpMethod => HttpMethod . PUT ;
1465- ///<summary>whether or not to copy settings from the source index (defaults to false)</summary>
1466- [ Obsolete ( "Scheduled to be removed in 7.0, Elasticsearch 6.4 will throw an exception if this is turned off see elastic/elasticsearch#30404" ) ]
1467- public bool ? CopySettings { get => Q < bool ? > ( "copy_settings" ) ; set => Q ( "copy_settings" , value ) ; }
14681438 ///<summary>Explicit operation timeout</summary>
14691439 public TimeSpan Timeout { get => Q < TimeSpan > ( "timeout" ) ; set => Q ( "timeout" , value ) ; }
14701440 ///<summary>Specify timeout for connection to master</summary>
@@ -1682,9 +1652,6 @@ public class MultiTermVectorsRequestParameters : RequestParameters<MultiTermVect
16821652 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
16831653 ///<summary>Specific routing value. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
16841654 public string Routing { get => Q < string > ( "routing" ) ; set => Q ( "routing" , value ) ; }
1685- ///<summary>Parent id of documents. Applies to all returned documents unless otherwise specified in body "params" or "docs".</summary>
1686- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
1687- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
16881655 ///<summary>Specifies if requests are real-time as opposed to near-real-time (default: true).</summary>
16891656 public bool ? Realtime { get => Q < bool ? > ( "realtime" ) ; set => Q ( "realtime" , value ) ; }
16901657 ///<summary>Explicit version number for concurrency control</summary>
@@ -2097,9 +2064,6 @@ public class TermVectorsRequestParameters : RequestParameters<TermVectorsRequest
20972064 public string Preference { get => Q < string > ( "preference" ) ; set => Q ( "preference" , value ) ; }
20982065 ///<summary>Specific routing value.</summary>
20992066 public string Routing { get => Q < string > ( "routing" ) ; set => Q ( "routing" , value ) ; }
2100- ///<summary>Parent id of documents.</summary>
2101- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
2102- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
21032067 ///<summary>Specifies if request is real-time as opposed to near-real-time (default: true).</summary>
21042068 public bool ? Realtime { get => Q < bool ? > ( "realtime" ) ; set => Q ( "realtime" , value ) ; }
21052069 ///<summary>Explicit version number for concurrency control</summary>
@@ -2121,9 +2085,6 @@ public class UpdateRequestParameters : RequestParameters<UpdateRequestParameters
21212085 public bool ? SourceEnabled { get => Q < bool ? > ( "_source" ) ; set => Q ( "_source" , value ) ; }
21222086 ///<summary>The script language (default: painless)</summary>
21232087 public string Lang { get => Q < string > ( "lang" ) ; set => Q ( "lang" , value ) ; }
2124- ///<summary>ID of the parent document. Is is only used for routing and when for the upsert request</summary>
2125- [ Obsolete ( "Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly." ) ]
2126- public string Parent { get => Q < string > ( "parent" ) ; set => Q ( "parent" , value ) ; }
21272088 ///<summary>
21282089 /// If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this
21292090 /// operation visible to search, if `false` (the default) then do nothing with refreshes.
0 commit comments