Skip to content

Commit 69ab6c6

Browse files
committed
Implemented PercolatorCount support
1 parent 538216b commit 69ab6c6

File tree

11 files changed

+232
-82
lines changed

11 files changed

+232
-82
lines changed

src/Elasticsearch.Net/Domain/RequestParameters.Generated.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,12 +1228,12 @@ public CountRequestParameters Source(string source)
12281228
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-percolate.html
12291229
///</pre>
12301230
///</summary>
1231-
public class CountPercolateRequestParameters : FluentRequestParameters<CountPercolateRequestParameters>
1231+
public class PercolateCountRequestParameters : FluentRequestParameters<PercolateCountRequestParameters>
12321232
{
12331233

12341234
internal string[] _routing { get; set; }
12351235
///<summary>A comma-separated list of specific routing values</summary>
1236-
public CountPercolateRequestParameters Routing(params string[] routing)
1236+
public PercolateCountRequestParameters Routing(params string[] routing)
12371237
{
12381238
this._routing = routing;
12391239
this.AddQueryString("routing", this._routing);
@@ -1243,7 +1243,7 @@ public CountPercolateRequestParameters Routing(params string[] routing)
12431243

12441244
internal string _preference { get; set; }
12451245
///<summary>Specify the node or shard the operation should be performed on (default: random)</summary>
1246-
public CountPercolateRequestParameters Preference(string preference)
1246+
public PercolateCountRequestParameters Preference(string preference)
12471247
{
12481248
this._preference = preference;
12491249
this.AddQueryString("preference", this._preference);
@@ -1253,7 +1253,7 @@ public CountPercolateRequestParameters Preference(string preference)
12531253

12541254
internal bool _ignore_unavailable { get; set; }
12551255
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>
1256-
public CountPercolateRequestParameters IgnoreUnavailable(bool ignore_unavailable)
1256+
public PercolateCountRequestParameters IgnoreUnavailable(bool ignore_unavailable)
12571257
{
12581258
this._ignore_unavailable = ignore_unavailable;
12591259
this.AddQueryString("ignore_unavailable", this._ignore_unavailable);
@@ -1263,7 +1263,7 @@ public CountPercolateRequestParameters IgnoreUnavailable(bool ignore_unavailable
12631263

12641264
internal bool _allow_no_indices { get; set; }
12651265
///<summary>Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)</summary>
1266-
public CountPercolateRequestParameters AllowNoIndices(bool allow_no_indices)
1266+
public PercolateCountRequestParameters AllowNoIndices(bool allow_no_indices)
12671267
{
12681268
this._allow_no_indices = allow_no_indices;
12691269
this.AddQueryString("allow_no_indices", this._allow_no_indices);
@@ -1273,7 +1273,7 @@ public CountPercolateRequestParameters AllowNoIndices(bool allow_no_indices)
12731273

12741274
internal ExpandWildcardsOptions _expand_wildcards { get; set; }
12751275
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
1276-
public CountPercolateRequestParameters ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
1276+
public PercolateCountRequestParameters ExpandWildcards(ExpandWildcardsOptions expand_wildcards)
12771277
{
12781278
this._expand_wildcards = expand_wildcards;
12791279
this.AddQueryString("expand_wildcards", this._expand_wildcards);
@@ -1283,7 +1283,7 @@ public CountPercolateRequestParameters ExpandWildcards(ExpandWildcardsOptions ex
12831283

12841284
internal string _percolate_index { get; set; }
12851285
///<summary>The index to count percolate the document into. Defaults to index.</summary>
1286-
public CountPercolateRequestParameters PercolateIndex(string percolate_index)
1286+
public PercolateCountRequestParameters PercolateIndex(string percolate_index)
12871287
{
12881288
this._percolate_index = percolate_index;
12891289
this.AddQueryString("percolate_index", this._percolate_index);
@@ -1293,7 +1293,7 @@ public CountPercolateRequestParameters PercolateIndex(string percolate_index)
12931293

12941294
internal string _percolate_type { get; set; }
12951295
///<summary>The type to count percolate document into. Defaults to type.</summary>
1296-
public CountPercolateRequestParameters PercolateType(string percolate_type)
1296+
public PercolateCountRequestParameters PercolateType(string percolate_type)
12971297
{
12981298
this._percolate_type = percolate_type;
12991299
this.AddQueryString("percolate_type", this._percolate_type);
@@ -1303,7 +1303,7 @@ public CountPercolateRequestParameters PercolateType(string percolate_type)
13031303

13041304
internal int _version { get; set; }
13051305
///<summary>Explicit version number for concurrency control</summary>
1306-
public CountPercolateRequestParameters Version(int version)
1306+
public PercolateCountRequestParameters Version(int version)
13071307
{
13081308
this._version = version;
13091309
this.AddQueryString("version", this._version);
@@ -1313,7 +1313,7 @@ public CountPercolateRequestParameters Version(int version)
13131313

13141314
internal VersionTypeOptions _version_type { get; set; }
13151315
///<summary>Specific version type</summary>
1316-
public CountPercolateRequestParameters VersionType(VersionTypeOptions version_type)
1316+
public PercolateCountRequestParameters VersionType(VersionTypeOptions version_type)
13171317
{
13181318
this._version_type = version_type;
13191319
this.AddQueryString("version_type", this._version_type);

0 commit comments

Comments
 (0)