diff --git a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.snapshots.json b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.snapshots.json index 758a7bead08..4f1db6974f7 100644 --- a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.snapshots.json +++ b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.snapshots.json @@ -8,7 +8,7 @@ "parts": { "repository": { "type" : "list", - "required" : true, + "required": true, "description": "Name of repository from which to fetch the snapshot information" } }, diff --git a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.analyze.json b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.analyze.json index 9fe9bfe3cad..c3dc0a18b45 100644 --- a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.analyze.json +++ b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.analyze.json @@ -44,13 +44,13 @@ "type" : "string", "description" : "The name of the tokenizer to use for the analysis" }, - "detail": { + "explain": { "type" : "boolean", "description" : "With `true`, outputs more advanced details. (default: false)" }, "attributes": { "type" : "list", - "description" : "A comma-separated list of token attributes to output, this parameter works only with `detail=true`" + "description" : "A comma-separated list of token attributes to output, this parameter works only with `explain=true`" }, "format": { "type": "enum", diff --git a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.optimize.json b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.optimize.json index 72aa77fcbc9..c5e63bfe60d 100644 --- a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.optimize.json +++ b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.optimize.json @@ -1,6 +1,6 @@ { "indices.optimize": { - "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-optimize.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-optimize.html", "methods": ["POST", "GET"], "url": { "path": "/_optimize", diff --git a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/reindex.json b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/reindex.json new file mode 100644 index 00000000000..59cd3ef7d38 --- /dev/null +++ b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/reindex.json @@ -0,0 +1,36 @@ +{ + "reindex": { + "documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html", + "methods": ["POST"], + "url": { + "path": "/_reindex", + "paths": ["/_reindex"], + "parts": {}, + "params": { + "refresh": { + "type" : "boolean", + "description" : "Should the effected indexes be refreshed?" + }, + "timeout": { + "type" : "time", + "default": "1m", + "description" : "Time each individual bulk request should wait for shards that are unavailable." + }, + "consistency": { + "type" : "enum", + "options" : ["one", "quorum", "all"], + "description" : "Explicit write consistency setting for the operation" + }, + "wait_for_completion": { + "type" : "boolean", + "default": false, + "description" : "Should the request should block until the reindex is complete." + } + } + }, + "body": { + "description": "The search definition using the Query DSL and the prototype for the index request.", + "required": true + } + } +} diff --git a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html index 04441101f2e..4c85cd3e856 100644 --- a/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html +++ b/src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html @@ -7,22 +7,22 @@ - - + + - + - - + + - elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api at 2.2 · elastic/elasticsearch · GitHub + elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api at 2.3 · elastic/elasticsearch · GitHub @@ -54,7 +54,7 @@ - + @@ -67,14 +67,14 @@ - + - + - + @@ -82,14 +82,15 @@ - + - + - + +
Skip to content @@ -98,14 +99,14 @@ -