@@ -1319,6 +1319,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
1319
1319
return this ;
1320
1320
}
1321
1321
1322
+ /// <summary>
1323
+ /// <para>
1324
+ /// A list of fields to exclude from the returned _source field
1325
+ /// </para>
1326
+ /// </summary>
1327
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor SourceExcludes < T > ( params System . Linq . Expressions . Expression < System . Func < T , object ? > > [ ] value )
1328
+ {
1329
+ Instance . SourceExcludes = value ;
1330
+ return this ;
1331
+ }
1332
+
1322
1333
/// <summary>
1323
1334
/// <para>
1324
1335
/// A list of fields to extract and return from the _source field
@@ -1330,6 +1341,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
1330
1341
return this ;
1331
1342
}
1332
1343
1344
+ /// <summary>
1345
+ /// <para>
1346
+ /// A list of fields to extract and return from the _source field
1347
+ /// </para>
1348
+ /// </summary>
1349
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor SourceIncludes < T > ( params System . Linq . Expressions . Expression < System . Func < T , object ? > > [ ] value )
1350
+ {
1351
+ Instance . SourceIncludes = value ;
1352
+ return this ;
1353
+ }
1354
+
1333
1355
/// <summary>
1334
1356
/// <para>
1335
1357
/// Specifies which field to use for suggestions.
@@ -1341,6 +1363,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
1341
1363
return this ;
1342
1364
}
1343
1365
1366
+ /// <summary>
1367
+ /// <para>
1368
+ /// Specifies which field to use for suggestions.
1369
+ /// </para>
1370
+ /// </summary>
1371
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor SuggestField < T > ( System . Linq . Expressions . Expression < System . Func < T , object ? > > value )
1372
+ {
1373
+ Instance . SuggestField = value ;
1374
+ return this ;
1375
+ }
1376
+
1344
1377
/// <summary>
1345
1378
/// <para>
1346
1379
/// Specify suggest mode
@@ -2113,27 +2146,55 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
2113
2146
return this ;
2114
2147
}
2115
2148
2149
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping < T > ( System . Linq . Expressions . Expression < System . Func < T , object ? > > key , Elastic . Clients . Elasticsearch . Mapping . RuntimeField value )
2150
+ {
2151
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2152
+ Instance . RuntimeMappings . Add ( key , value ) ;
2153
+ return this ;
2154
+ }
2155
+
2116
2156
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping ( Elastic . Clients . Elasticsearch . Field key )
2117
2157
{
2118
2158
Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2119
2159
Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor . Build ( null ) ) ;
2120
2160
return this ;
2121
2161
}
2122
2162
2163
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping < T > ( System . Linq . Expressions . Expression < System . Func < T , object ? > > key )
2164
+ {
2165
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2166
+ Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor . Build ( null ) ) ;
2167
+ return this ;
2168
+ }
2169
+
2123
2170
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping ( Elastic . Clients . Elasticsearch . Field key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor > action )
2124
2171
{
2125
2172
Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2126
2173
Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor . Build ( action ) ) ;
2127
2174
return this ;
2128
2175
}
2129
2176
2177
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping < T > ( System . Linq . Expressions . Expression < System . Func < T , object ? > > key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor > action )
2178
+ {
2179
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2180
+ Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor . Build ( action ) ) ;
2181
+ return this ;
2182
+ }
2183
+
2130
2184
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping < T > ( Elastic . Clients . Elasticsearch . Field key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < T > > action )
2131
2185
{
2132
2186
Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2133
2187
Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < T > . Build ( action ) ) ;
2134
2188
return this ;
2135
2189
}
2136
2190
2191
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor AddRuntimeMapping < T > ( System . Linq . Expressions . Expression < System . Func < T , object ? > > key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < T > > action )
2192
+ {
2193
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
2194
+ Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < T > . Build ( action ) ) ;
2195
+ return this ;
2196
+ }
2197
+
2137
2198
/// <summary>
2138
2199
/// <para>
2139
2200
/// Retrieve a script evaluation (based on different fields) for each hit.
@@ -2393,6 +2454,20 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
2393
2454
return this ;
2394
2455
}
2395
2456
2457
+ /// <summary>
2458
+ /// <para>
2459
+ /// List of stored fields to return as part of a hit. If no fields are specified,
2460
+ /// no stored fields are included in the response. If this field is specified, the _source
2461
+ /// parameter defaults to false. You can pass _source: true to return both source fields
2462
+ /// and stored fields in the search response.
2463
+ /// </para>
2464
+ /// </summary>
2465
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor StoredFields < T > ( params System . Linq . Expressions . Expression < System . Func < T , object ? > > [ ] value )
2466
+ {
2467
+ Instance . StoredFields = value ;
2468
+ return this ;
2469
+ }
2470
+
2396
2471
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor Suggest ( Elastic . Clients . Elasticsearch . Core . Search . Suggester ? value )
2397
2472
{
2398
2473
Instance . Suggest = value ;
@@ -2815,6 +2890,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
2815
2890
return this ;
2816
2891
}
2817
2892
2893
+ /// <summary>
2894
+ /// <para>
2895
+ /// A list of fields to exclude from the returned _source field
2896
+ /// </para>
2897
+ /// </summary>
2898
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > SourceExcludes ( params System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > [ ] value )
2899
+ {
2900
+ Instance . SourceExcludes = value ;
2901
+ return this ;
2902
+ }
2903
+
2818
2904
/// <summary>
2819
2905
/// <para>
2820
2906
/// A list of fields to extract and return from the _source field
@@ -2826,6 +2912,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
2826
2912
return this ;
2827
2913
}
2828
2914
2915
+ /// <summary>
2916
+ /// <para>
2917
+ /// A list of fields to extract and return from the _source field
2918
+ /// </para>
2919
+ /// </summary>
2920
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > SourceIncludes ( params System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > [ ] value )
2921
+ {
2922
+ Instance . SourceIncludes = value ;
2923
+ return this ;
2924
+ }
2925
+
2829
2926
/// <summary>
2830
2927
/// <para>
2831
2928
/// Specifies which field to use for suggestions.
@@ -2837,6 +2934,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
2837
2934
return this ;
2838
2935
}
2839
2936
2937
+ /// <summary>
2938
+ /// <para>
2939
+ /// Specifies which field to use for suggestions.
2940
+ /// </para>
2941
+ /// </summary>
2942
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > SuggestField ( System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > value )
2943
+ {
2944
+ Instance . SuggestField = value ;
2945
+ return this ;
2946
+ }
2947
+
2840
2948
/// <summary>
2841
2949
/// <para>
2842
2950
/// Specify suggest mode
@@ -3449,20 +3557,41 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
3449
3557
return this ;
3450
3558
}
3451
3559
3560
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > AddRuntimeMapping ( System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > key , Elastic . Clients . Elasticsearch . Mapping . RuntimeField value )
3561
+ {
3562
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
3563
+ Instance . RuntimeMappings . Add ( key , value ) ;
3564
+ return this ;
3565
+ }
3566
+
3452
3567
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > AddRuntimeMapping ( Elastic . Clients . Elasticsearch . Field key )
3453
3568
{
3454
3569
Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
3455
3570
Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > . Build ( null ) ) ;
3456
3571
return this ;
3457
3572
}
3458
3573
3574
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > AddRuntimeMapping ( System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > key )
3575
+ {
3576
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
3577
+ Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > . Build ( null ) ) ;
3578
+ return this ;
3579
+ }
3580
+
3459
3581
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > AddRuntimeMapping ( Elastic . Clients . Elasticsearch . Field key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > > action )
3460
3582
{
3461
3583
Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
3462
3584
Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > . Build ( action ) ) ;
3463
3585
return this ;
3464
3586
}
3465
3587
3588
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > AddRuntimeMapping ( System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > key , System . Action < Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > > action )
3589
+ {
3590
+ Instance . RuntimeMappings ??= new System . Collections . Generic . Dictionary < Elastic . Clients . Elasticsearch . Field , Elastic . Clients . Elasticsearch . Mapping . RuntimeField > ( ) ;
3591
+ Instance . RuntimeMappings . Add ( key , Elastic . Clients . Elasticsearch . Mapping . RuntimeFieldDescriptor < TDocument > . Build ( action ) ) ;
3592
+ return this ;
3593
+ }
3594
+
3466
3595
/// <summary>
3467
3596
/// <para>
3468
3597
/// Retrieve a script evaluation (based on different fields) for each hit.
@@ -3698,6 +3827,20 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
3698
3827
return this ;
3699
3828
}
3700
3829
3830
+ /// <summary>
3831
+ /// <para>
3832
+ /// List of stored fields to return as part of a hit. If no fields are specified,
3833
+ /// no stored fields are included in the response. If this field is specified, the _source
3834
+ /// parameter defaults to false. You can pass _source: true to return both source fields
3835
+ /// and stored fields in the search response.
3836
+ /// </para>
3837
+ /// </summary>
3838
+ public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > StoredFields ( params System . Linq . Expressions . Expression < System . Func < TDocument , object ? > > [ ] value )
3839
+ {
3840
+ Instance . StoredFields = value ;
3841
+ return this ;
3842
+ }
3843
+
3701
3844
public Elastic . Clients . Elasticsearch . AsyncSearch . SubmitAsyncSearchRequestDescriptor < TDocument > Suggest ( Elastic . Clients . Elasticsearch . Core . Search . Suggester ? value )
3702
3845
{
3703
3846
Instance . Suggest = value ;
0 commit comments