Skip to content

Commit ea0e8b3

Browse files
committed
Remove obsolete parameters from analyze rest spec (#31795)
This commit also fixes a typo in the analyze high-level client documentation.
1 parent 32746fd commit ea0e8b3

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

docs/java-rest/high-level/indices/analyze.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can analyze text using the mappings for a particular field in an index:
5656
include-tagged::{doc-tests}/IndicesClientDocumentationIT.java[analyze-field-request]
5757
---------------------------------------------------
5858

59-
==== Optional arguemnts
59+
==== Optional arguments
6060
The following arguments can also optionally be provided:
6161

6262
["source","java",subs="attributes,callouts,macros"]

rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@
1515
"index": {
1616
"type" : "string",
1717
"description" : "The name of the index to scope the operation"
18-
},
19-
"prefer_local": {
20-
"type" : "boolean",
21-
"description" : "With `true`, specify that a local shard should be used if available, with `false`, use a random shard (default: true)"
22-
},
23-
"format": {
24-
"type": "enum",
25-
"options" : ["detailed","text"],
26-
"default": "detailed",
27-
"description": "Format of the output"
2818
}
2919
}
3020
},

0 commit comments

Comments
 (0)