Skip to content

Commit 22a1160

Browse files
committed
Temp
1 parent 8ddc69b commit 22a1160

File tree

223 files changed

+7483
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+7483
-3
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
13191319
return this;
13201320
}
13211321

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+
13221333
/// <summary>
13231334
/// <para>
13241335
/// A list of fields to extract and return from the _source field
@@ -1330,6 +1341,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
13301341
return this;
13311342
}
13321343

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+
13331355
/// <summary>
13341356
/// <para>
13351357
/// Specifies which field to use for suggestions.
@@ -1341,6 +1363,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
13411363
return this;
13421364
}
13431365

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+
13441377
/// <summary>
13451378
/// <para>
13461379
/// Specify suggest mode
@@ -2113,27 +2146,55 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
21132146
return this;
21142147
}
21152148

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+
21162156
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor AddRuntimeMapping(Elastic.Clients.Elasticsearch.Field key)
21172157
{
21182158
Instance.RuntimeMappings ??= new System.Collections.Generic.Dictionary<Elastic.Clients.Elasticsearch.Field, Elastic.Clients.Elasticsearch.Mapping.RuntimeField>();
21192159
Instance.RuntimeMappings.Add(key, Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor.Build(null));
21202160
return this;
21212161
}
21222162

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+
21232170
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor AddRuntimeMapping(Elastic.Clients.Elasticsearch.Field key, System.Action<Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor> action)
21242171
{
21252172
Instance.RuntimeMappings ??= new System.Collections.Generic.Dictionary<Elastic.Clients.Elasticsearch.Field, Elastic.Clients.Elasticsearch.Mapping.RuntimeField>();
21262173
Instance.RuntimeMappings.Add(key, Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor.Build(action));
21272174
return this;
21282175
}
21292176

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+
21302184
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor AddRuntimeMapping<T>(Elastic.Clients.Elasticsearch.Field key, System.Action<Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor<T>> action)
21312185
{
21322186
Instance.RuntimeMappings ??= new System.Collections.Generic.Dictionary<Elastic.Clients.Elasticsearch.Field, Elastic.Clients.Elasticsearch.Mapping.RuntimeField>();
21332187
Instance.RuntimeMappings.Add(key, Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor<T>.Build(action));
21342188
return this;
21352189
}
21362190

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+
21372198
/// <summary>
21382199
/// <para>
21392200
/// Retrieve a script evaluation (based on different fields) for each hit.
@@ -2393,6 +2454,20 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
23932454
return this;
23942455
}
23952456

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+
23962471
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor Suggest(Elastic.Clients.Elasticsearch.Core.Search.Suggester? value)
23972472
{
23982473
Instance.Suggest = value;
@@ -2815,6 +2890,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
28152890
return this;
28162891
}
28172892

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+
28182904
/// <summary>
28192905
/// <para>
28202906
/// A list of fields to extract and return from the _source field
@@ -2826,6 +2912,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
28262912
return this;
28272913
}
28282914

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+
28292926
/// <summary>
28302927
/// <para>
28312928
/// Specifies which field to use for suggestions.
@@ -2837,6 +2934,17 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
28372934
return this;
28382935
}
28392936

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+
28402948
/// <summary>
28412949
/// <para>
28422950
/// Specify suggest mode
@@ -3449,20 +3557,41 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
34493557
return this;
34503558
}
34513559

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+
34523567
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor<TDocument> AddRuntimeMapping(Elastic.Clients.Elasticsearch.Field key)
34533568
{
34543569
Instance.RuntimeMappings ??= new System.Collections.Generic.Dictionary<Elastic.Clients.Elasticsearch.Field, Elastic.Clients.Elasticsearch.Mapping.RuntimeField>();
34553570
Instance.RuntimeMappings.Add(key, Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor<TDocument>.Build(null));
34563571
return this;
34573572
}
34583573

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+
34593581
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor<TDocument> AddRuntimeMapping(Elastic.Clients.Elasticsearch.Field key, System.Action<Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor<TDocument>> action)
34603582
{
34613583
Instance.RuntimeMappings ??= new System.Collections.Generic.Dictionary<Elastic.Clients.Elasticsearch.Field, Elastic.Clients.Elasticsearch.Mapping.RuntimeField>();
34623584
Instance.RuntimeMappings.Add(key, Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldDescriptor<TDocument>.Build(action));
34633585
return this;
34643586
}
34653587

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+
34663595
/// <summary>
34673596
/// <para>
34683597
/// Retrieve a script evaluation (based on different fields) for each hit.
@@ -3698,6 +3827,20 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
36983827
return this;
36993828
}
37003829

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+
37013844
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor<TDocument> Suggest(Elastic.Clients.Elasticsearch.Core.Search.Suggester? value)
37023845
{
37033846
Instance.Suggest = value;

src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,19 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor SourceExcludes(Elasti
805805
return this;
806806
}
807807

808+
/// <summary>
809+
/// <para>
810+
/// A comma-separated list of source fields to exclude from the response.
811+
/// You can also use this parameter to exclude fields from the subset specified in <c>_source_includes</c> query parameter.
812+
/// If the <c>_source</c> parameter is <c>false</c>, this parameter is ignored.
813+
/// </para>
814+
/// </summary>
815+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor SourceExcludes<T>(params System.Linq.Expressions.Expression<System.Func<T, object?>>[] value)
816+
{
817+
Instance.SourceExcludes = value;
818+
return this;
819+
}
820+
808821
/// <summary>
809822
/// <para>
810823
/// A comma-separated list of source fields to include in the response.
@@ -819,6 +832,20 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor SourceIncludes(Elasti
819832
return this;
820833
}
821834

835+
/// <summary>
836+
/// <para>
837+
/// A comma-separated list of source fields to include in the response.
838+
/// If this parameter is specified, only these source fields are returned.
839+
/// You can exclude fields from this subset using the <c>_source_excludes</c> query parameter.
840+
/// If the <c>_source</c> parameter is <c>false</c>, this parameter is ignored.
841+
/// </para>
842+
/// </summary>
843+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor SourceIncludes<T>(params System.Linq.Expressions.Expression<System.Func<T, object?>>[] value)
844+
{
845+
Instance.SourceIncludes = value;
846+
return this;
847+
}
848+
822849
/// <summary>
823850
/// <para>
824851
/// The period each action waits for the following operations: automatic index creation, dynamic mapping updates, and waiting for active shards.
@@ -1185,6 +1212,19 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> SourceExcl
11851212
return this;
11861213
}
11871214

1215+
/// <summary>
1216+
/// <para>
1217+
/// A comma-separated list of source fields to exclude from the response.
1218+
/// You can also use this parameter to exclude fields from the subset specified in <c>_source_includes</c> query parameter.
1219+
/// If the <c>_source</c> parameter is <c>false</c>, this parameter is ignored.
1220+
/// </para>
1221+
/// </summary>
1222+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> SourceExcludes(params System.Linq.Expressions.Expression<System.Func<TDocument, object?>>[] value)
1223+
{
1224+
Instance.SourceExcludes = value;
1225+
return this;
1226+
}
1227+
11881228
/// <summary>
11891229
/// <para>
11901230
/// A comma-separated list of source fields to include in the response.
@@ -1199,6 +1239,20 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> SourceIncl
11991239
return this;
12001240
}
12011241

1242+
/// <summary>
1243+
/// <para>
1244+
/// A comma-separated list of source fields to include in the response.
1245+
/// If this parameter is specified, only these source fields are returned.
1246+
/// You can exclude fields from this subset using the <c>_source_excludes</c> query parameter.
1247+
/// If the <c>_source</c> parameter is <c>false</c>, this parameter is ignored.
1248+
/// </para>
1249+
/// </summary>
1250+
public Elastic.Clients.Elasticsearch.BulkRequestDescriptor<TDocument> SourceIncludes(params System.Linq.Expressions.Expression<System.Func<TDocument, object?>>[] value)
1251+
{
1252+
Instance.SourceIncludes = value;
1253+
return this;
1254+
}
1255+
12021256
/// <summary>
12031257
/// <para>
12041258
/// The period each action waits for the following operations: automatic index creation, dynamic mapping updates, and waiting for active shards.

0 commit comments

Comments
 (0)