Skip to content

Commit 946db96

Browse files
Fix MultiSearch functionality (#8176) (#8178)
- Implement `IStreamSerializable` for array request descriptors - Do not automatically infer index for optional `Indices` parameters Co-authored-by: Florian Bernd <[email protected]>
1 parent 01b0bfe commit 946db96

Some content is hidden

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

49 files changed

+225
-286
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public SubmitAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
958958
{
959959
}
960960

961-
public SubmitAsyncSearchRequestDescriptor() : this(typeof(TDocument))
961+
public SubmitAsyncSearchRequestDescriptor()
962962
{
963963
}
964964

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public HealthRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indices?
186186
{
187187
}
188188

189-
public HealthRequestDescriptor() : this(typeof(TDocument))
189+
public HealthRequestDescriptor()
190190
{
191191
}
192192

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public CountRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indices?
225225
{
226226
}
227227

228-
public CountRequestDescriptor() : this(typeof(TDocument))
228+
public CountRequestDescriptor()
229229
{
230230
}
231231

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public FieldCapsRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indic
161161
{
162162
}
163163

164-
public FieldCapsRequestDescriptor() : this(typeof(TDocument))
164+
public FieldCapsRequestDescriptor()
165165
{
166166
}
167167

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public ClearCacheRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indi
142142
{
143143
}
144144

145-
public ClearCacheRequestDescriptor() : this(typeof(TDocument))
145+
public ClearCacheRequestDescriptor()
146146
{
147147
}
148148

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ind
109109
{
110110
}
111111

112-
public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Names name) : this(typeof(TDocument), name)
112+
public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Names name) : base(r => r.Required("name", name))
113113
{
114114
}
115115

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public FlushRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indices?
120120
{
121121
}
122122

123-
public FlushRequestDescriptor() : this(typeof(TDocument))
123+
public FlushRequestDescriptor()
124124
{
125125
}
126126

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public ForcemergeRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indi
142142
{
143143
}
144144

145-
public ForcemergeRequestDescriptor() : this(typeof(TDocument))
145+
public ForcemergeRequestDescriptor()
146146
{
147147
}
148148

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ public GetAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Indice
117117
{
118118
}
119119

120-
public GetAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Names? name) : this(typeof(TDocument), name)
121-
{
122-
}
123-
124120
public GetAliasRequestDescriptor()
125121
{
126122
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ public GetIndicesSettingsRequestDescriptor(Elastic.Clients.Elasticsearch.Serverl
150150
{
151151
}
152152

153-
public GetIndicesSettingsRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Names? name) : this(typeof(TDocument), name)
154-
{
155-
}
156-
157153
public GetIndicesSettingsRequestDescriptor()
158154
{
159155
}

0 commit comments

Comments
 (0)