Skip to content

Commit 3b50522

Browse files
[codegen] master synchronization (#6000)
Co-authored-by: Mpdreamz <Mpdreamz@users.noreply.github.com>
1 parent 62099a4 commit 3b50522

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/ApiGenerator/RestSpecification/Core/search_mvt.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
"type":"int",
7777
"description":"Maximum number of features to return in the hits layer. Accepts 0-10000.",
7878
"default":10000
79+
},
80+
"track_total_hits":{
81+
"type":"boolean|long",
82+
"description":"Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number."
7983
}
8084
},
8185
"body":{

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,6 +1865,16 @@ public int? Size
18651865
get => Q<int? >("size");
18661866
set => Q("size", value);
18671867
}
1868+
1869+
///<summary>
1870+
/// Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total
1871+
/// hit count up to the number.
1872+
///</summary>
1873+
public bool? TrackTotalHits
1874+
{
1875+
get => Q<bool? >("track_total_hits");
1876+
set => Q("track_total_hits", value);
1877+
}
18681878
}
18691879

18701880
///<summary>Request options for SearchShards <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html</para></summary>

0 commit comments

Comments
 (0)