Skip to content

Commit 033b5ed

Browse files
committed
Update REST spec to pull in removal of allow_no_indices from indices.upgrade
1 parent 0bdfc26 commit 033b5ed

File tree

5 files changed

+22
-36
lines changed

5 files changed

+22
-36
lines changed

src/CodeGeneration/ApiGenerator/RestSpecification/Core/indices.upgrade.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
}
1313
},
1414
"params": {
15-
"allow_no_indices": {
16-
"type" : "boolean",
17-
"description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
18-
},
1915
"expand_wildcards": {
2016
"type" : "enum",
2117
"options" : ["open","closed","none","all"],

src/CodeGeneration/ApiGenerator/RestSpecification/Core/root.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta charset='utf-8'>
99

1010

11-
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/frameworks-670aaf67517f485d1cc3d32a9303f11b30559d2d8b6bf839bf0199b83ad50468.css" media="all" rel="stylesheet" />
12-
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-420ba9398a86a0591f142ea706b2810b93f39650247b1730af65a71f434becc0.css" media="all" rel="stylesheet" />
11+
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/frameworks-96d3c90d9d94b08c8ad5ae6b8330d0ee8a8488a340e22ff175ad5f68d1e7829f.css" media="all" rel="stylesheet" />
12+
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-05e14ce73b537df26fb175af401e6406d7141b763222b194c10bb4dae47aba83.css" media="all" rel="stylesheet" />
1313

1414

1515
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/site-4a18dc1c93cc7113ea22c7c6b62826f621b52a57f32caea97c682100ac10de36.css" media="all" rel="stylesheet" />
@@ -42,7 +42,7 @@
4242

4343
<meta name="pjax-timeout" content="1000">
4444

45-
<meta name="request-id" content="6423A6C0:0FDE:6F91CF3:580E4987" data-pjax-transient>
45+
<meta name="request-id" content="6423A6C0:0FDB:4EBBED7:580F8AA5" data-pjax-transient>
4646

4747
<meta name="msapplication-TileImage" content="/windows-tile.png">
4848
<meta name="msapplication-TileColor" content="#ffffff">
@@ -52,7 +52,7 @@
5252
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
5353
<meta name="google-analytics" content="UA-3769691-2">
5454

55-
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" /><meta content="6423A6C0:0FDE:6F91CF3:580E4987" name="octolytics-dimension-request_id" />
55+
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="github" name="octolytics-app-id" /><meta content="6423A6C0:0FDB:4EBBED7:580F8AA5" name="octolytics-dimension-request_id" />
5656
<meta content="/&lt;user-name&gt;/&lt;repo-name&gt;/files/disambiguate" data-pjax-transient="true" name="analytics-location" />
5757

5858

@@ -65,16 +65,16 @@
6565
<meta name="user-login" content="">
6666

6767
<meta name="expected-hostname" content="github.com">
68-
<meta name="js-proxy-site-detection-payload" content="ZTk3NzEzOWU4NzU0ZWExYjY1ZDE0OTBjZGNiYTEwNDQ3MzhjNzA0OWMxYjE5NmFiZjJlZWU5NDJhMzM0YTc1YXx7InJlbW90ZV9hZGRyZXNzIjoiMTAwLjM1LjE2Ni4xOTIiLCJyZXF1ZXN0X2lkIjoiNjQyM0E2QzA6MEZERTo2RjkxQ0YzOjU4MEU0OTg3IiwidGltZXN0YW1wIjoxNDc3MzMxMzM1LCJob3N0IjoiZ2l0aHViLmNvbSJ9">
68+
<meta name="js-proxy-site-detection-payload" content="N2Q0OTY4YmIzY2I0ZGRlYWJiZGJhMzM3Y2ZmOWM5ZDdjZDQ3N2ZlNGFjN2JkZDE1NDRiZTk0NzA5YmU0NWVjZnx7InJlbW90ZV9hZGRyZXNzIjoiMTAwLjM1LjE2Ni4xOTIiLCJyZXF1ZXN0X2lkIjoiNjQyM0E2QzA6MEZEQjo0RUJCRUQ3OjU4MEY4QUE1IiwidGltZXN0YW1wIjoxNDc3NDEzNTQxLCJob3N0IjoiZ2l0aHViLmNvbSJ9">
6969

7070

7171
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#4078c0">
7272
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
7373

74-
<meta name="html-safe-nonce" content="f06b08e36e2374164bb954aed0bf7b942a8ca5e2">
75-
<meta content="abaa40ef321352d8d5f9d2a8a1e8fa1978202a61" name="form-nonce" />
74+
<meta name="html-safe-nonce" content="7337871159f83307edcb94528e699afbe0893db5">
75+
<meta content="e4ccd21eb816f840df01e6db64584a35034dec9c" name="form-nonce" />
7676

77-
<meta http-equiv="x-pjax-version" content="a9454abfe74e11bea8a25c5bbab87e2f">
77+
<meta http-equiv="x-pjax-version" content="61300da8e3d7812170cf5d07db541647">
7878

7979

8080

@@ -194,8 +194,8 @@
194194
</a>
195195

196196
<a class="social-count js-social-count" href="/elastic/elasticsearch/stargazers"
197-
aria-label="18964 users starred this repository">
198-
18,964
197+
aria-label="18980 users starred this repository">
198+
18,980
199199
</a>
200200

201201
</li>
@@ -209,8 +209,8 @@
209209
</a>
210210

211211
<a href="/elastic/elasticsearch/network" class="social-count"
212-
aria-label="6470 users are forked this repository">
213-
6,470
212+
aria-label="6480 users are forked this repository">
213+
6,480
214214
</a>
215215
</li>
216216
</ul>
@@ -243,15 +243,15 @@ <h1 class="public ">
243243
<a href="/elastic/elasticsearch/issues" class="js-selected-navigation-item reponav-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /elastic/elasticsearch/issues" itemprop="url">
244244
<svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>
245245
<span itemprop="name">Issues</span>
246-
<span class="counter">1,044</span>
246+
<span class="counter">1,047</span>
247247
<meta itemprop="position" content="2">
248248
</a> </span>
249249

250250
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
251251
<a href="/elastic/elasticsearch/pulls" class="js-selected-navigation-item reponav-item" data-hotkey="g p" data-selected-links="repo_pulls /elastic/elasticsearch/pulls" itemprop="url">
252252
<svg aria-hidden="true" class="octicon octicon-git-pull-request" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"></path></svg>
253253
<span itemprop="name">Pull requests</span>
254-
<span class="counter">84</span>
254+
<span class="counter">86</span>
255255
<meta itemprop="position" content="3">
256256
</a> </span>
257257

@@ -2010,10 +2010,10 @@ <h1 class="public ">
20102010
</a>
20112011
</span>
20122012

2013-
This branch is 441 commits ahead, 572 commits behind master.
2013+
This branch is 450 commits ahead, 582 commits behind master.
20142014
</div>
20152015

2016-
<include-fragment class="commit-tease commit-loader" src="/elastic/elasticsearch/tree-commit/e1c0de164f8b73c70891551cb8c939a825852ece/rest-api-spec/src/main/resources/rest-api-spec/api">
2016+
<include-fragment class="commit-tease commit-loader" src="/elastic/elasticsearch/tree-commit/0ac7704ef4f01ad577516305634ae4a3d5e9aab3/rest-api-spec/src/main/resources/rest-api-spec/api">
20172017
<div class="blank">
20182018
<img alt="" class="loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32-EAF2F5.gif" width="16" />
20192019
Fetching latest commit…
@@ -2025,7 +2025,7 @@ <h1 class="public ">
20252025

20262026
<include-fragment class="file-wrap" src="/elastic/elasticsearch/file-list/5.x/rest-api-spec/src/main/resources/rest-api-spec/api">
20272027

2028-
<a href="/elastic/elasticsearch/tree/e1c0de164f8b73c70891551cb8c939a825852ece/rest-api-spec/src/main/resources/rest-api-spec/api" class="d-none js-permalink-shortcut" data-hotkey="y">Permalink</a>
2028+
<a href="/elastic/elasticsearch/tree/0ac7704ef4f01ad577516305634ae4a3d5e9aab3/rest-api-spec/src/main/resources/rest-api-spec/api" class="d-none js-permalink-shortcut" data-hotkey="y">Permalink</a>
20292029

20302030
<table class="files js-navigation-container js-active-navigation-container" data-pjax>
20312031
<tr class="up-tree js-navigation-item">
@@ -3312,7 +3312,7 @@ <h1 class="public ">
33123312
<img alt="" class="spinner" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
33133313
</td>
33143314
<td class="content">
3315-
<span class="css-truncate css-truncate-target"><a href="/elastic/elasticsearch/blob/5.x/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json" class="js-navigation-open" id="49572445346c6fe5f226279051b88082-66111456719654acf88affbf38c18dd71f97d84a" title="indices.upgrade.json">indices.upgrade.json</a></span>
3315+
<span class="css-truncate css-truncate-target"><a href="/elastic/elasticsearch/blob/5.x/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json" class="js-navigation-open" id="49572445346c6fe5f226279051b88082-f83cf255165c8cf7215b570818b6cb3b22a571f9" title="indices.upgrade.json">indices.upgrade.json</a></span>
33163316
</td>
33173317
<td class="message">
33183318
<span class="css-truncate css-truncate-target">
@@ -4014,7 +4014,7 @@ <h1 class="public ">
40144014
<svg aria-hidden="true" class="octicon octicon-mark-github" height="24" version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
40154015
</a>
40164016
<ul class="site-footer-links">
4017-
<li>&copy; 2016 <span title="0.13421s from github-fe162-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
4017+
<li>&copy; 2016 <span title="0.10680s from github-fe-651e69d.cp1-iad.github.net">GitHub</span>, Inc.</li>
40184018
<li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
40194019
<li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
40204020
<li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
@@ -4038,8 +4038,8 @@ <h1 class="public ">
40384038

40394039

40404040
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/compat-30ce4c86c27f88c3d1b4eb03efda59b45d8d7c871880dee0b8f73d5ef1b25fdf.js"></script>
4041-
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-33b22a6d8d4e7a6df6f3868fc101644ec8b92539c1d828b23b34dff4b2f613f7.js"></script>
4042-
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-92f407d1e778dafd05b0c49cf3a0018d2db470807dabea8eff08954ab1689f7e.js"></script>
4041+
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-5243adea0446f93dbf77afb21098b121209a278d4c964299b8c43851a26a3af4.js"></script>
4042+
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-5ea893039368b4bdc543641613bfa8b656bc645b3942aba57ee556c38e900d94.js"></script>
40434043

40444044

40454045

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3303,10 +3303,6 @@ public class UpgradeRequestParameters : FluentRequestParameters<UpgradeRequestPa
33033303
{
33043304
public override HttpMethod DefaultHttpMethod => HttpMethod.POST;
33053305

3306-
///<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>
3307-
public UpgradeRequestParameters AllowNoIndices(bool allow_no_indices) => this.AddQueryString("allow_no_indices", allow_no_indices);
3308-
3309-
33103306
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
33113307
public UpgradeRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards) => this.AddQueryString("expand_wildcards", expand_wildcards);
33123308

src/Nest/_Generated/_Descriptors.generated.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3421,9 +3421,6 @@ public UpgradeDescriptor() : base(){}
34213421
public UpgradeDescriptor AllIndices() => this.Index(Indices.All);
34223422

34233423

3424-
///<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>
3425-
public UpgradeDescriptor AllowNoIndices(bool allow_no_indices = true) => AssignParam(p=>p.AllowNoIndices(allow_no_indices));
3426-
34273424
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
34283425
public UpgradeDescriptor ExpandWildcards(ExpandWildcards expand_wildcards) => AssignParam(p=>p.ExpandWildcards(expand_wildcards));
34293426

src/Nest/_Generated/_Requests.generated.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6275,10 +6275,7 @@ public UpgradeRequest() : base(){}
62756275
public UpgradeRequest(Indices index) : base(r=>r.Optional("index", index)){}
62766276

62776277

6278-
///<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>
6279-
public bool AllowNoIndices { get { return Q<bool>("allow_no_indices"); } set { Q("allow_no_indices", value); } }
6280-
6281-
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
6278+
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary>
62826279
public ExpandWildcards ExpandWildcards { get { return Q<ExpandWildcards>("expand_wildcards"); } set { Q("expand_wildcards", value); } }
62836280

62846281
///<summary>Whether specified concrete indices should be ignored when unavailable (missing or closed)</summary>

0 commit comments

Comments
 (0)