-
+
+
Fetching latest commit…
@@ -1830,14 +1865,14 @@
-
+
- Permalink
+ Permalink
@@ -157,11 +176,11 @@
-
+
Watch
- 1,605
+ 1,604
@@ -170,12 +189,12 @@
-
+
Star
- 16,167
+ 15,775
@@ -184,67 +203,63 @@
-
+
Fork
- 5,206
+ 5,273
-
+
elastic/elasticsearch
-
-
-
+
elastic/elasticsearch
-
-
-
-
-
-
-
+
+
Pull request
-
-
+
+
Compare
- This branch is 1217 commits ahead, 5367 commits behind master.
+ This branch is 1415 commits ahead, 5702 commits behind master.
-
- | .. | +.. | ||
+ | Failed to load latest commit information. | |||
-
+
![]() |
- bulk.json + bulk.json |
@@ -1867,11 +1902,11 @@ | ||
-
+
![]() |
- cat.aliases.json + cat.aliases.json |
@@ -1883,11 +1918,11 @@ | ||
-
+
![]() |
- cat.allocation.json + cat.allocation.json |
@@ -1899,11 +1934,11 @@ | ||
-
+
![]() |
- cat.count.json + cat.count.json |
@@ -1915,11 +1950,11 @@ | ||
-
+
![]() |
- cat.fielddata.json + cat.fielddata.json |
@@ -1931,11 +1966,11 @@ | ||
-
+
![]() |
- cat.health.json + cat.health.json |
@@ -1947,11 +1982,11 @@ | ||
-
+
![]() |
- cat.help.json + cat.help.json |
@@ -1963,11 +1998,11 @@ | ||
-
+
![]() |
- cat.indices.json + cat.indices.json |
@@ -1979,11 +2014,11 @@ | ||
-
+
![]() |
- cat.master.json + cat.master.json |
@@ -1995,11 +2030,11 @@ | ||
-
+
![]() |
- cat.nodeattrs.json + cat.nodeattrs.json |
@@ -2011,11 +2046,11 @@ | ||
-
+
![]() |
- cat.nodes.json + cat.nodes.json |
@@ -2027,11 +2062,11 @@ | ||
-
+
![]() |
- cat.pending_tasks.json + cat.pending_tasks.json |
@@ -2043,11 +2078,11 @@ | ||
-
+
![]() |
- cat.plugins.json + cat.plugins.json |
@@ -2059,11 +2094,11 @@ | ||
-
+
![]() |
- cat.recovery.json + cat.recovery.json |
@@ -2075,11 +2110,11 @@ | ||
-
+
![]() |
- cat.repositories.json + cat.repositories.json |
@@ -2091,11 +2126,11 @@ | ||
-
+
![]() |
- cat.segments.json + cat.segments.json |
@@ -2107,11 +2142,11 @@ | ||
-
+
![]() |
- cat.shards.json + cat.shards.json |
@@ -2123,11 +2158,11 @@ | ||
-
+
![]() |
- cat.snapshots.json + cat.snapshots.json |
@@ -2139,11 +2174,11 @@ | ||
-
+
![]() |
- cat.thread_pool.json + cat.thread_pool.json |
@@ -2155,11 +2190,11 @@ | ||
-
+
![]() |
- clear_scroll.json + clear_scroll.json |
@@ -2171,11 +2206,11 @@ | ||
-
+
![]() |
- cluster.get_settings.json + cluster.get_settings.json |
@@ -2187,11 +2222,11 @@ | ||
-
+
![]() |
- cluster.health.json + cluster.health.json |
@@ -2203,11 +2238,11 @@ | ||
-
+
![]() |
- cluster.pending_tasks.json + cluster.pending_tasks.json |
@@ -2219,11 +2254,11 @@ | ||
-
+
![]() |
- cluster.put_settings.json + cluster.put_settings.json |
@@ -2235,11 +2270,11 @@ | ||
-
+
![]() |
- cluster.reroute.json + cluster.reroute.json |
@@ -2251,11 +2286,11 @@ | ||
-
+
![]() |
- cluster.state.json + cluster.state.json |
@@ -2267,11 +2302,11 @@ | ||
-
+
![]() |
- cluster.stats.json + cluster.stats.json |
@@ -2283,11 +2318,11 @@ | ||
-
+
![]() |
- count.json + count.json |
@@ -2299,11 +2334,11 @@ | ||
-
+
![]() |
- count_percolate.json + count_percolate.json |
@@ -2315,11 +2350,11 @@ | ||
-
+
![]() |
- delete.json + delete.json |
@@ -2331,11 +2366,11 @@ | ||
-
+
![]() |
- delete_script.json + delete_script.json |
@@ -2347,11 +2382,11 @@ | ||
-
+
![]() |
- delete_template.json + delete_template.json |
@@ -2363,11 +2398,11 @@ | ||
-
+
![]() |
- exists.json + exists.json |
@@ -2379,11 +2414,11 @@ | ||
-
+
![]() |
- explain.json + explain.json |
@@ -2395,11 +2430,11 @@ | ||
-
+
![]() |
- field_stats.json + field_stats.json |
@@ -2411,11 +2446,11 @@ | ||
-
+
![]() |
- get.json + get.json |
@@ -2427,11 +2462,11 @@ | ||
-
+
![]() |
- get_script.json + get_script.json |
@@ -2443,11 +2478,11 @@ | ||
-
+
![]() |
- get_source.json + get_source.json |
@@ -2459,11 +2494,11 @@ | ||
-
+
![]() |
- get_template.json + get_template.json |
@@ -2475,11 +2510,11 @@ | ||
-
+
![]() |
- index.json + index.json |
@@ -2491,11 +2526,11 @@ | ||
-
+
![]() |
- indices.analyze.json + indices.analyze.json |
@@ -2507,11 +2542,11 @@ | ||
-
+
![]() |
- indices.clear_cache.json + indices.clear_cache.json |
@@ -2523,11 +2558,11 @@ | ||
-
+
![]() |
- indices.close.json + indices.close.json |
@@ -2539,11 +2574,11 @@ | ||
-
+
![]() |
- indices.create.json + indices.create.json |
@@ -2555,11 +2590,11 @@ | ||
-
+
![]() |
- indices.delete.json + indices.delete.json |
@@ -2571,11 +2606,11 @@ | ||
-
+
![]() |
- indices.delete_alias.json + indices.delete_alias.json |
@@ -2587,11 +2622,11 @@ | ||
-
+
![]() |
- indices.delete_template.json + indices.delete_template.json |
@@ -2603,11 +2638,11 @@ | ||
-
+
![]() |
- indices.delete_warmer.json + indices.delete_warmer.json |
@@ -2619,11 +2654,11 @@ | ||
-
+
![]() |
- indices.exists.json + indices.exists.json |
@@ -2635,11 +2670,11 @@ | ||
-
+
![]() |
- indices.exists_alias.json + indices.exists_alias.json |
@@ -2651,11 +2686,11 @@ | ||
-
+
![]() |
- indices.exists_template.json + indices.exists_template.json |
@@ -2667,11 +2702,11 @@ | ||
-
+
![]() |
- indices.exists_type.json + indices.exists_type.json |
@@ -2683,11 +2718,11 @@ | ||
-
+
![]() |
- indices.flush.json + indices.flush.json |
@@ -2699,11 +2734,11 @@ | ||
-
+
![]() |
- indices.flush_synced.json + indices.flush_synced.json |
@@ -2715,11 +2750,11 @@ | ||
-
+
![]() |
- indices.forcemerge.json + indices.forcemerge.json |
@@ -2731,11 +2766,11 @@ | ||
-
+
![]() |
- indices.get.json + indices.get.json |
@@ -2747,11 +2782,11 @@ | ||
-
+
![]() |
- indices.get_alias.json + indices.get_alias.json |
@@ -2763,11 +2798,11 @@ | ||
-
+
![]() |
- indices.get_aliases.json + indices.get_aliases.json |
@@ -2779,11 +2814,11 @@ | ||
-
+
![]() |
- indices.get_field_mapping.json + indices.get_field_mapping.json |
@@ -2795,11 +2830,11 @@ | ||
-
+
![]() |
- indices.get_mapping.json + indices.get_mapping.json |
@@ -2811,11 +2846,11 @@ | ||
-
+
![]() |
- indices.get_settings.json + indices.get_settings.json |
@@ -2827,11 +2862,11 @@ | ||
-
+
![]() |
- indices.get_template.json + indices.get_template.json |
@@ -2843,11 +2878,11 @@ | ||
-
+
![]() |
- indices.get_upgrade.json + indices.get_upgrade.json |
@@ -2859,11 +2894,11 @@ | ||
-
+
![]() |
- indices.get_warmer.json + indices.get_warmer.json |
@@ -2875,11 +2910,11 @@ | ||
-
+
![]() |
- indices.open.json + indices.open.json |
@@ -2891,11 +2926,11 @@ | ||
-
+
![]() |
- indices.optimize.json + indices.optimize.json |
@@ -2907,11 +2942,11 @@ | ||
-
+
![]() |
- indices.put_alias.json + indices.put_alias.json |
@@ -2923,11 +2958,11 @@ | ||
-
+
![]() |
- indices.put_mapping.json + indices.put_mapping.json |
@@ -2939,11 +2974,11 @@ | ||
-
+
![]() |
- indices.put_settings.json + indices.put_settings.json |
@@ -2955,11 +2990,11 @@ | ||
-
+
![]() |
- indices.put_template.json + indices.put_template.json |
@@ -2971,11 +3006,11 @@ | ||
-
+
![]() |
- indices.put_warmer.json + indices.put_warmer.json |
@@ -2987,11 +3022,11 @@ | ||
-
+
![]() |
- indices.recovery.json + indices.recovery.json |
@@ -3003,11 +3038,11 @@ | ||
-
+
![]() |
- indices.refresh.json + indices.refresh.json |
@@ -3019,11 +3054,11 @@ | ||
-
+
![]() |
- indices.segments.json + indices.segments.json |
@@ -3035,11 +3070,11 @@ | ||
-
+
![]() |
- indices.shard_stores.json + indices.shard_stores.json |
@@ -3051,11 +3086,11 @@ | ||
-
+
![]() |
- indices.stats.json + indices.stats.json |
@@ -3067,11 +3102,11 @@ | ||
-
+
![]() |
- indices.update_aliases.json + indices.update_aliases.json |
@@ -3083,11 +3118,11 @@ | ||
-
+
![]() |
- indices.upgrade.json + indices.upgrade.json |
@@ -3099,11 +3134,11 @@ | ||
-
+
![]() |
- indices.validate_query.json + indices.validate_query.json |
@@ -3115,11 +3150,11 @@ | ||
-
+
![]() |
- info.json + info.json |
@@ -3131,11 +3166,11 @@ | ||
-
+
![]() |
- mget.json + mget.json |
@@ -3147,11 +3182,11 @@ | ||
-
+
![]() |
- mpercolate.json + mpercolate.json |
@@ -3163,11 +3198,11 @@ | ||
-
+
![]() |
- msearch.json + msearch.json |
@@ -3179,11 +3214,11 @@ | ||
-
+
![]() |
- mtermvectors.json + mtermvectors.json |
@@ -3195,11 +3230,11 @@ | ||
-
+
![]() |
- nodes.hot_threads.json + nodes.hot_threads.json |
@@ -3211,11 +3246,11 @@ | ||
-
+
![]() |
- nodes.info.json + nodes.info.json |
@@ -3227,11 +3262,11 @@ | ||
-
+
![]() |
- nodes.stats.json + nodes.stats.json |
@@ -3243,11 +3278,11 @@ | ||
-
+
![]() |
- percolate.json + percolate.json |
@@ -3259,11 +3294,11 @@ | ||
-
+
![]() |
- ping.json + ping.json |
@@ -3275,11 +3310,11 @@ | ||
-
+
![]() |
- put_script.json + put_script.json |
@@ -3291,11 +3326,11 @@ | ||
-
+
![]() |
- put_template.json + put_template.json |
@@ -3307,11 +3342,11 @@ | ||
-
+
![]() |
- render_search_template.json + reindex.json |
@@ -3323,11 +3358,11 @@ | ||
-
+
![]() |
- scroll.json + render_search_template.json |
@@ -3339,11 +3374,11 @@ | ||
-
+
![]() |
- search.json + scroll.json |
@@ -3355,11 +3390,11 @@ | ||
-
+
![]() |
- search_exists.json + search.json |
@@ -3371,11 +3406,11 @@ | ||
-
+
![]() |
- search_shards.json + search_exists.json |
@@ -3387,11 +3422,11 @@ | ||
-
+
![]() |
- search_template.json + search_shards.json |
@@ -3403,11 +3438,11 @@ | ||
-
+
![]() |
- snapshot.create.json + search_template.json |
@@ -3419,11 +3454,11 @@ | ||
-
+
![]() |
- snapshot.create_repository.json + snapshot.create.json |
@@ -3435,11 +3470,11 @@ | ||
-
+
![]() |
- snapshot.delete.json + snapshot.create_repository.json |
@@ -3451,11 +3486,11 @@ | ||
-
+
![]() |
- snapshot.delete_repository.json + snapshot.delete.json |
@@ -3467,11 +3502,11 @@ | ||
-
+
![]() |
- snapshot.get.json + snapshot.delete_repository.json |
@@ -3483,11 +3518,11 @@ | ||
-
+
![]() |
- snapshot.get_repository.json + snapshot.get.json |
@@ -3499,11 +3534,11 @@ | ||
-
+
![]() |
- snapshot.restore.json + snapshot.get_repository.json |
@@ -3515,11 +3550,11 @@ | ||
-
+
![]() |
- snapshot.status.json + snapshot.restore.json |
@@ -3531,11 +3566,11 @@ | ||
-
+
![]() |
- snapshot.verify_repository.json + snapshot.status.json |
@@ -3547,11 +3582,11 @@ | ||
-
+
![]() |
- suggest.json + snapshot.verify_repository.json |
@@ -3563,11 +3598,11 @@ | ||
-
+
![]() |
- termvectors.json + suggest.json |
@@ -3579,11 +3614,75 @@ | ||
-
+
![]() |
- update.json + tasks.cancel.json + | ++ + + | ++ + | +|
+
+ ![]() |
+ + tasks.list.json + | ++ + + | ++ + | +|
+
+ ![]() |
+ + termvectors.json + | ++ + + | ++ + | +|
+
+ ![]() |
+ + update.json + | ++ + + | ++ + | +|
+
+ ![]() |
+ + update_by_query.json |
@@ -3626,10 +3725,10 @@
-
+
-
|
- ///https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-optimize.html + ///http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-optimize.html ////// public class OptimizeRequestParameters : FluentRequestParameters
+ ///https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html + ///+ /// + public class ReindexOnServerRequestParameters : FluentRequestParameters
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html @@ -3668,7 +3698,7 @@ public class SearchRequestParameters : FluentRequestParametersRequest parameters descriptor for SearchExists /// - ///https://www.elastic.co/guide/en/elasticsearch/reference/2.1/search-exists.html + ///http://www.elastic.co/guide/en/elasticsearch/reference/master/search-exists.html //////
+ ///http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-cancel.html + ///+ /// + public class TasksCancelRequestParameters : FluentRequestParameters
+ ///http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-list.html + ///+ ///
///http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html @@ -4231,4 +4337,182 @@ public class UpdateRequestParameters : FluentRequestParametersthis.AddQueryString("filter_path", filter_path); } + + /// Request parameters descriptor for UpdateByQuery + /// + public class UpdateByQueryRequestParameters : FluentRequestParameters+ ///https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html + ///+ ///+ { + public override HttpMethod DefaultHttpMethod => HttpMethod.POST; + + /// The analyzer to use for the query string + public UpdateByQueryRequestParameters Analyzer(string analyzer) => this.AddQueryString("analyzer", analyzer); + + + ///Specify whether wildcard and prefix queries should be analyzed (default: false) + public UpdateByQueryRequestParameters AnalyzeWildcard(bool analyze_wildcard) => this.AddQueryString("analyze_wildcard", analyze_wildcard); + + + ///The default operator for query string query (AND or OR) + public UpdateByQueryRequestParameters DefaultOperator(DefaultOperator default_operator) => this.AddQueryString("default_operator", default_operator); + + + ///The field to use as default where no field prefix is given in the query string + public UpdateByQueryRequestParameters Df(string df) => this.AddQueryString("df", df); + + + ///Specify whether to return detailed information about score computation as part of a hit + public UpdateByQueryRequestParameters Explain(bool explain) => this.AddQueryString("explain", explain); + + + ///A comma-separated list of fields to return as part of a hit + public UpdateByQueryRequestParameters Fields(params string[] fields) => this.AddQueryString("fields", fields); + + + ///A comma-separated list of fields to return as the field data representation of a field for each hit + public UpdateByQueryRequestParameters FielddataFields(params string[] fielddata_fields) => this.AddQueryString("fielddata_fields", fielddata_fields); + + + ///Starting offset (default: 0) + public UpdateByQueryRequestParameters From(long from) => this.AddQueryString("from", from); + + + ///Whether specified concrete indices should be ignored when unavailable (missing or closed) + public UpdateByQueryRequestParameters IgnoreUnavailable(bool ignore_unavailable) => this.AddQueryString("ignore_unavailable", ignore_unavailable); + + + ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) + public UpdateByQueryRequestParameters AllowNoIndices(bool allow_no_indices) => this.AddQueryString("allow_no_indices", allow_no_indices); + + + ///What to do when the reindex hits version conflicts? + public UpdateByQueryRequestParameters Conflicts(Conflicts conflicts) => this.AddQueryString("conflicts", conflicts); + + + ///Whether to expand wildcard expression to concrete indices that are open, closed or both. + public UpdateByQueryRequestParameters ExpandWildcards(ExpandWildcards expand_wildcards) => this.AddQueryString("expand_wildcards", expand_wildcards); + + + ///Specify whether format-based query failures (such as providing text to a numeric field) should be ignored + public UpdateByQueryRequestParameters Lenient(bool lenient) => this.AddQueryString("lenient", lenient); + + + ///Specify whether query terms should be lowercased + public UpdateByQueryRequestParameters LowercaseExpandedTerms(bool lowercase_expanded_terms) => this.AddQueryString("lowercase_expanded_terms", lowercase_expanded_terms); + + + ///Specify the node or shard the operation should be performed on (default: random) + public UpdateByQueryRequestParameters Preference(string preference) => this.AddQueryString("preference", preference); + + + ///Query in the Lucene query string syntax + public UpdateByQueryRequestParameters QueryOnQueryString(string query_on_query_string) => this.AddQueryString("q", query_on_query_string); + + + ///A comma-separated list of specific routing values + public UpdateByQueryRequestParameters Routing(params string[] routing) => this.AddQueryString("routing", routing); + + + ///Specify how long a consistent view of the index should be maintained for scrolled search + public UpdateByQueryRequestParameters Scroll(TimeSpan scroll) => this.AddQueryString("scroll", scroll.ToTimeUnit()); + + + ///Search operation type + public UpdateByQueryRequestParameters SearchType(SearchType search_type) => this.AddQueryString("search_type", search_type); + + + ///Explicit timeout for each search request. Defaults to no timeout. + public UpdateByQueryRequestParameters SearchTimeout(TimeSpan search_timeout) => this.AddQueryString("search_timeout", search_timeout.ToTimeUnit()); + + + ///Number of hits to return (default: 10) + public UpdateByQueryRequestParameters Size(long size) => this.AddQueryString("size", size); + + + ///A comma-separated list of <field>:<direction> pairs + public UpdateByQueryRequestParameters Sort(params string[] sort) => this.AddQueryString("sort", sort); + + + ///True or false to return the _source field or not, or a list of fields to return + public UpdateByQueryRequestParameters SourceEnabled(params string[] source_enabled) => this.AddQueryString("_source", source_enabled); + + + ///A list of fields to exclude from the returned _source field + public UpdateByQueryRequestParameters SourceExclude(params string[] source_exclude) => this.AddQueryString("_source_exclude", source_exclude); + + + ///A list of fields to extract and return from the _source field + public UpdateByQueryRequestParameters SourceInclude(params string[] source_include) => this.AddQueryString("_source_include", source_include); + + + ///The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. + public UpdateByQueryRequestParameters TerminateAfter(long terminate_after) => this.AddQueryString("terminate_after", terminate_after); + + + ///Specific 'tag' of the request for logging and statistical purposes + public UpdateByQueryRequestParameters Stats(params string[] stats) => this.AddQueryString("stats", stats); + + + ///Specify which field to use for suggestions + public UpdateByQueryRequestParameters SuggestField(string suggest_field) => this.AddQueryString("suggest_field", suggest_field); + + + ///Specify suggest mode + public UpdateByQueryRequestParameters SuggestMode(SuggestMode suggest_mode) => this.AddQueryString("suggest_mode", suggest_mode); + + + ///How many suggestions to return in response + public UpdateByQueryRequestParameters SuggestSize(long suggest_size) => this.AddQueryString("suggest_size", suggest_size); + + + ///The source text for which the suggestions should be returned + public UpdateByQueryRequestParameters SuggestText(string suggest_text) => this.AddQueryString("suggest_text", suggest_text); + + + ///Time each individual bulk request should wait for shards that are unavailable. + public UpdateByQueryRequestParameters Timeout(TimeSpan timeout) => this.AddQueryString("timeout", timeout.ToTimeUnit()); + + + ///Whether to calculate and return scores even if they are not used for sorting + public UpdateByQueryRequestParameters TrackScores(bool track_scores) => this.AddQueryString("track_scores", track_scores); + + + ///Specify whether to return document version as part of a hit + public UpdateByQueryRequestParameters Version(bool version) => this.AddQueryString("version", version); + + + ///Should the document increment the version number (internal) on hit or not (reindex) + public UpdateByQueryRequestParameters VersionType(bool version_type) => this.AddQueryString("version_type", version_type); + + + ///Specify if request cache should be used for this request or not, defaults to index level setting + public UpdateByQueryRequestParameters RequestCache(bool request_cache) => this.AddQueryString("request_cache", request_cache); + + + ///Should the effected indexes be refreshed? + public UpdateByQueryRequestParameters Refresh(bool refresh) => this.AddQueryString("refresh", refresh); + + + ///Explicit write consistency setting for the operation + public UpdateByQueryRequestParameters Consistency(Consistency consistency) => this.AddQueryString("consistency", consistency); + + + ///Size on the scroll request powering the update_by_query + public UpdateByQueryRequestParameters ScrollSize(long scroll_size) => this.AddQueryString("scroll_size", scroll_size); + + + ///Should the request should block until the reindex is complete. + public UpdateByQueryRequestParameters WaitForCompletion(bool wait_for_completion) => this.AddQueryString("wait_for_completion", wait_for_completion); + + + ///The URL-encoded request definition + public UpdateByQueryRequestParameters Source(string source) => this.AddQueryString("source", source); + + + ///Comma separated list of filters used to reduce the response returned by Elasticsearch + public UpdateByQueryRequestParameters FilterPath(string filter_path) => this.AddQueryString("filter_path", filter_path); + + } } \ No newline at end of file diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs index 2cd4f70c7c3..27396861241 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Generated.cs @@ -3970,7 +3970,7 @@ public Task> IndicesOpenAsync (string index, Func - Stream, no deserialization, response stream is your responsibility /// - VoidResponse, no deserialization, response stream never read and closed ///- DynamicDictionary, a dynamic aware dictionary that can be safely traversed to any depth - ///See also: https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-optimize.html + ///See also: http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-optimize.html ///