Skip to content

Commit 6008a44

Browse files
committed
implements #1083 Get Index Api
1 parent 850b1a4 commit 6008a44

26 files changed

+591
-218
lines changed

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html

+29-44
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<meta name="selected-link" value="repo_source" data-pjax-transient>
3535
<meta name="google-analytics" content="UA-3769691-2">
3636

37-
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="626D3FC5:6D67:29F5D3B:547CE5CC" name="octolytics-dimension-request_id" />
37+
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="D52E933C:6D6C:9C18D6E:5485B056" name="octolytics-dimension-request_id" />
3838

3939
<meta content="Rails, view, files#disambiguate" name="analytics-event" />
4040

@@ -44,15 +44,15 @@
4444

4545

4646
<meta content="authenticity_token" name="csrf-param" />
47-
<meta content="nPZIbqyok1sDWvpkqPPXRrWTwYrWQmO7D56bBh8r6YO+BHAWgqQTtef6SXMY516c1D6PFT41Yu2yagh5S5Dzng==" name="csrf-token" />
47+
<meta content="nkRwL/MqKQCg+36QCMw24NATbnn6hdySAsxzrx/B3HEdUbaDmlKQZi+WExe2DZ4/OxZijRTAF388p7lxKeAjug==" name="csrf-token" />
4848

49-
<link href="https://assets-cdn.github.com/assets/github-5561576deeeba73b1c76a1de3c562f5d65ee6ea990aa632c3b75c3a7c811ea3a.css" media="all" rel="stylesheet" type="text/css" />
50-
<link href="https://assets-cdn.github.com/assets/github2-6d4ae76f4a7e6219238d0862b58f02bf064768ebd9e3930caf5fb0516312dd93.css" media="all" rel="stylesheet" type="text/css" />
49+
<link href="https://assets-cdn.github.com/assets/github-2a88a7bf0ff1b660d7ff29c3220a68751650b37fc53d40d3a7068e835fd213ec.css" media="all" rel="stylesheet" type="text/css" />
50+
<link href="https://assets-cdn.github.com/assets/github2-ee4170e0122d252766e3edc8c97b6cc6ae381c974013b5047ed5ad8895c56fe0.css" media="all" rel="stylesheet" type="text/css" />
5151

5252

5353

5454

55-
<meta http-equiv="x-pjax-version" content="d48c7139e1356d4095cb2cdafa7dcf5c">
55+
<meta http-equiv="x-pjax-version" content="41958266624bf574cf788503efcc1eef">
5656

5757

5858
<meta name="description" content="elasticsearch - Open Source, Distributed, RESTful Search Engine">
@@ -141,7 +141,7 @@
141141
</a>
142142

143143
<a class="social-count js-social-count" href="/elasticsearch/elasticsearch/stargazers">
144-
9,091
144+
9,176
145145
</a>
146146

147147
</li>
@@ -154,7 +154,7 @@
154154
Fork
155155
</a>
156156
<a href="/elasticsearch/elasticsearch/network" class="social-count">
157-
2,762
157+
2,786
158158
</a>
159159
</li>
160160
</ul>
@@ -230,11 +230,11 @@ <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-titl
230230
data-protocol-type="http"
231231
data-url="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone">
232232
<h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
233-
<div class="input-group">
234-
<input type="text" class="input-mini input-monospace js-url-field"
233+
<div class="input-group js-zeroclipboard-container">
234+
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
235235
value="https://github.com/elasticsearch/elasticsearch.git" readonly="readonly">
236236
<span class="input-group-button">
237-
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/elasticsearch/elasticsearch.git" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
237+
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
238238
</span>
239239
</div>
240240
</div>
@@ -244,19 +244,19 @@ <h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
244244
data-protocol-type="subversion"
245245
data-url="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone">
246246
<h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
247-
<div class="input-group">
248-
<input type="text" class="input-mini input-monospace js-url-field"
247+
<div class="input-group js-zeroclipboard-container">
248+
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
249249
value="https://github.com/elasticsearch/elasticsearch" readonly="readonly">
250250
<span class="input-group-button">
251-
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/elasticsearch/elasticsearch" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
251+
<button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
252252
</span>
253253
</div>
254254
</div>
255255

256256

257+
257258
<p class="clone-options">You can clone with
258-
<a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a>
259-
or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
259+
<a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a> or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
260260
<a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
261261
<span class="octicon octicon-question"></span>
262262
</a>
@@ -526,15 +526,6 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
526526
class="js-navigation-open select-menu-item-text css-truncate-target"
527527
title="enhancement/test-enable-transport-client-sniff">enhancement/test-enable-transport-client-sniff</a>
528528
</div> <!-- /.select-menu-item -->
529-
<div class="select-menu-item js-navigation-item ">
530-
<span class="select-menu-item-icon octicon octicon-check"></span>
531-
<a href="/elasticsearch/elasticsearch/tree/experimental/reducers/rest-api-spec/api"
532-
data-name="experimental/reducers"
533-
data-skip-pjax="true"
534-
rel="nofollow"
535-
class="js-navigation-open select-menu-item-text css-truncate-target"
536-
title="experimental/reducers">experimental/reducers</a>
537-
</div> <!-- /.select-menu-item -->
538529
<div class="select-menu-item js-navigation-item ">
539530
<span class="select-menu-item-icon octicon octicon-check"></span>
540531
<a href="/elasticsearch/elasticsearch/tree/feature/bench/rest-api-spec/api"
@@ -580,15 +571,6 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
580571
class="js-navigation-open select-menu-item-text css-truncate-target"
581572
title="fix/6120">fix/6120</a>
582573
</div> <!-- /.select-menu-item -->
583-
<div class="select-menu-item js-navigation-item ">
584-
<span class="select-menu-item-icon octicon octicon-check"></span>
585-
<a href="/elasticsearch/elasticsearch/tree/fix/loggingSourceInfo/rest-api-spec/api"
586-
data-name="fix/loggingSourceInfo"
587-
data-skip-pjax="true"
588-
rel="nofollow"
589-
class="js-navigation-open select-menu-item-text css-truncate-target"
590-
title="fix/loggingSourceInfo">fix/loggingSourceInfo</a>
591-
</div> <!-- /.select-menu-item -->
592574
<div class="select-menu-item js-navigation-item ">
593575
<span class="select-menu-item-icon octicon octicon-check"></span>
594576
<a href="/elasticsearch/elasticsearch/tree/fixit/hashmap_threshold/rest-api-spec/api"
@@ -1679,7 +1661,7 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
16791661
</a>
16801662
</div>
16811663

1682-
<div class="breadcrumb"><span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/elasticsearch/elasticsearch/tree/v1.4.1" class="" data-branch="v1.4.1" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">elasticsearch</span></a></span></span><span class="separator"> / </span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/elasticsearch/elasticsearch/tree/v1.4.1/rest-api-spec" class="" data-branch="v1.4.1" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">rest-api-spec</span></a></span><span class="separator"> / </span><strong class="final-path">api</strong><span class="separator"> / </span><span aria-label="Select a branch to create a new file" class="js-new-blob-form tooltipped tooltipped-e new-file-link new-file-no-branch"><span class="js-new-blob-submit octicon octicon-plus" data-test-id="create-new-git-file"></span></span></div>
1664+
<div class="breadcrumb"><span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/elasticsearch/elasticsearch/tree/v1.4.1" class="" data-branch="v1.4.1" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">elasticsearch</span></a></span></span><span class="separator">/</span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/elasticsearch/elasticsearch/tree/v1.4.1/rest-api-spec" class="" data-branch="v1.4.1" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">rest-api-spec</span></a></span><span class="separator">/</span><strong class="final-path">api</strong><span class="separator">/</span><span aria-label="Select a branch to create a new file" class="js-new-blob-form tooltipped tooltipped-e new-file-link new-file-no-branch"><span class="js-new-blob-submit octicon octicon-plus" data-test-id="create-new-git-file"></span></span></div>
16831665

16841666
</div>
16851667

@@ -1705,7 +1687,7 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
17051687
</div>
17061688

17071689

1708-
<div class="file-wrap">
1690+
<include-fragment class="file-wrap" src="/elasticsearch/elasticsearch/file-list/v1.4.1/rest-api-spec/api">
17091691

17101692
<table class="files" data-pjax>
17111693
<tr class="up-tree">
@@ -2544,11 +2526,11 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
25442526
</td>
25452527
<td class="message">
25462528
<span class="css-truncate css-truncate-target">
2547-
<a href="/elasticsearch/elasticsearch/commit/3984b141159171bd11544b5904f7972ae198ac66" class="message" data-pjax="true" title="Spec: Updated documentation URLs">Spec: Updated documentation URLs</a>
2529+
25482530
</span>
25492531
</td>
25502532
<td class="age">
2551-
<span class="css-truncate css-truncate-target"><time datetime="2014-11-25T18:31:54Z" is="time-ago">Nov 25, 2014</time></span>
2533+
<span class="css-truncate css-truncate-target"></span>
25522534
</td>
25532535
</tr>
25542536
<tr>
@@ -3163,11 +3145,11 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
31633145
</td>
31643146
<td class="message">
31653147
<span class="css-truncate css-truncate-target">
3166-
<a href="/elasticsearch/elasticsearch/commit/3984b141159171bd11544b5904f7972ae198ac66" class="message" data-pjax="true" title="Spec: Updated documentation URLs">Spec: Updated documentation URLs</a>
3148+
31673149
</span>
31683150
</td>
31693151
<td class="age">
3170-
<span class="css-truncate css-truncate-target"><time datetime="2014-11-25T18:31:54Z" is="time-ago">Nov 25, 2014</time></span>
3152+
<span class="css-truncate css-truncate-target"></span>
31713153
</td>
31723154
</tr>
31733155
<tr>
@@ -3590,7 +3572,7 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
35903572
</tbody>
35913573
</table>
35923574

3593-
</div>
3575+
</include-fragment>
35943576

35953577

35963578

@@ -3623,7 +3605,7 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
36233605
</a>
36243606

36253607
<ul class="site-footer-links">
3626-
<li>&copy; 2014 <span title="0.09138s from github-fe133-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
3608+
<li>&copy; 2014 <span title="0.06056s from github-fe129-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
36273609
<li><a href="/site/terms">Terms</a></li>
36283610
<li><a href="/site/privacy">Privacy</a></li>
36293611
<li><a href="/security">Security</a></li>
@@ -3636,7 +3618,10 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
36363618
<div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
36373619
<div class="fullscreen-container js-suggester-container">
36383620
<div class="textarea-wrap">
3639-
<textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents js-suggester-field" placeholder=""></textarea>
3621+
<textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents" placeholder=""></textarea>
3622+
<div class="suggester-container">
3623+
<div class="suggester fullscreen-suggester js-suggester js-navigation-container"></div>
3624+
</div>
36403625
</div>
36413626
</div>
36423627
<div class="fullscreen-sidebar">
@@ -3659,8 +3644,8 @@ <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
36593644
</div>
36603645

36613646

3662-
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-1dca3eab4ab3b2a00235feebb2fc218f0e91bbe06e140fb6ca67049215c66508.js" type="text/javascript"></script>
3663-
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-a2367b9a690e93dfb66abc5de7e2736a8fc0f28db56d7fd377688ecbbfd10832.js" type="text/javascript"></script>
3647+
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-153d6254b838872c8db73c8bd92905913f6f5b2164b7e40e5292286bd5a39403.js" type="text/javascript"></script>
3648+
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-328122e491be5b60198f717bbe44dc993b1277b3e7f1b6cd767447d7f58c8784.js" type="text/javascript"></script>
36643649

36653650

36663651
</body>

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -3078,12 +3078,12 @@ public FlushRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards)
30783078
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/indices-get-index.html
30793079
///</pre>
30803080
///</summary>
3081-
public class IndicesGetRequestParameters : FluentRequestParameters<IndicesGetRequestParameters>
3081+
public class GetIndexRequestParameters : FluentRequestParameters<GetIndexRequestParameters>
30823082
{
30833083

30843084
internal bool _local { get; set; }
30853085
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
3086-
public IndicesGetRequestParameters Local(bool local)
3086+
public GetIndexRequestParameters Local(bool local)
30873087
{
30883088
this._local = local;
30893089
this.AddQueryString("local", this._local);
@@ -3093,7 +3093,7 @@ public IndicesGetRequestParameters Local(bool local)
30933093

30943094
internal bool _ignore_unavailable { get; set; }
30953095
///<summary>Ignore unavailable indexes (default: false)</summary>
3096-
public IndicesGetRequestParameters IgnoreUnavailable(bool ignore_unavailable)
3096+
public GetIndexRequestParameters IgnoreUnavailable(bool ignore_unavailable)
30973097
{
30983098
this._ignore_unavailable = ignore_unavailable;
30993099
this.AddQueryString("ignore_unavailable", this._ignore_unavailable);
@@ -3103,7 +3103,7 @@ public IndicesGetRequestParameters IgnoreUnavailable(bool ignore_unavailable)
31033103

31043104
internal bool _allow_no_indices { get; set; }
31053105
///<summary>Ignore if a wildcard expression resolves to no concrete indices (default: false)</summary>
3106-
public IndicesGetRequestParameters AllowNoIndices(bool allow_no_indices)
3106+
public GetIndexRequestParameters AllowNoIndices(bool allow_no_indices)
31073107
{
31083108
this._allow_no_indices = allow_no_indices;
31093109
this.AddQueryString("allow_no_indices", this._allow_no_indices);
@@ -3113,7 +3113,7 @@ public IndicesGetRequestParameters AllowNoIndices(bool allow_no_indices)
31133113

31143114
internal string[] _expand_wildcards { get; set; }
31153115
///<summary>Whether wildcard expressions should get expanded to open or closed indices (default: open)</summary>
3116-
public IndicesGetRequestParameters ExpandWildcards(params string[] expand_wildcards)
3116+
public GetIndexRequestParameters ExpandWildcards(params string[] expand_wildcards)
31173117
{
31183118
this._expand_wildcards = expand_wildcards;
31193119
this.AddQueryString("expand_wildcards", this._expand_wildcards);

0 commit comments

Comments
 (0)