elasticsearch/docs/reference
William Brafford f56eec35a5
Make feature reset API response more informative (#71240) (#72332)
* Make feature reset API response more informative (#71240)

Previously, the ResetFeatureStateStatus object captured its status in a
String, which meant that if we wanted to know if something succeeded or
failed, we'd have to parse information out of the string. This isn't a
good way of doing things.

I've introduced a SUCCESS/FAILURE enum for status constants, and added a
check for failures in the transport action. We return a 207 if some but not all
reset actions fail, and for every failure, we also return information about the
exception or error that caused it.

* Fix 7.x backport compilation issues

* Feature reset integration test should tolerate failed resets (#72326)

Co-authored-by: Jay Modi <jaymode@users.noreply.github.com>
2021-04-27 17:50:30 -04:00
..
aggregations [DOCS] Fix typos (#72227) (#72256) 2021-04-26 14:18:27 -04:00
analysis [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
autoscaling Frozen autoscaling decider based on storage pct (#71756) (#71922) 2021-04-20 15:14:21 +02:00
cat [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
ccr Document CCR auto-follow patterns and searchable snapshots indices (#70863) (#71319) 2021-04-06 11:35:29 +02:00
cluster Open with better cluster allocation explain ex. (#72245) 2021-04-26 17:42:55 +01:00
commands [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
data-streams Add Fleet action results system data stream (#71966) 2021-04-20 15:17:56 -06:00
docs [DOCS] Fix typos (#72227) (#72256) 2021-04-26 14:18:27 -04:00
eql [DOCS] EQL: Shorten response snippets (#72330) (#72335) 2021-04-27 16:12:08 -04:00
features/apis Make feature reset API response more informative (#71240) (#72332) 2021-04-27 17:50:30 -04:00
fleet Wait on index when polling global checkpoints (#71977) 2021-04-20 14:34:46 -06:00
graph [DOCS] Fix API titles (#67475) (#67480) 2021-01-13 15:56:17 -05:00
high-availability [DOCS] Replace 'log into' with 'log in to' (#72324) (#72331) 2021-04-27 16:55:45 -04:00
how-to [DOCS] Remove uneeded 'How to' from title 2021-04-23 09:59:12 -04:00
ilm DOCS: update delete_searchable_snapshot option documentation (#71547) 2021-04-15 11:00:30 +01:00
images [DOCS] Refactor quick start guide and README (#71331) (#71936) 2021-04-20 10:26:15 -04:00
index-modules [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
indices [DOCS] Replace 'log into' with 'log in to' (#72324) (#72331) 2021-04-27 16:55:45 -04:00
ingest [7.x] Option to disable device type parsing in user agent processor (#71625) (#71970) 2021-04-20 16:08:34 -05:00
licensing [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
mapping Add match_only_text, a space-efficient variant of text. (#72064) 2021-04-22 14:47:54 +02:00
migration [DOCS] EQL: Deprecate wildcard function (#72119) 2021-04-22 15:48:17 -04:00
ml [DOCS] Fix typos (#72227) (#72256) 2021-04-26 14:18:27 -04:00
modules Trivial typo: bindiing -> binding 2021-04-27 12:21:26 +01:00
monitoring [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
query-dsl Add doc on rank_feature(s) negative score impact (#71795) 2021-04-20 06:59:13 -04:00
release-notes [DOCS] Remove 7.12.1 coming tag (#71846) (#72316) 2021-04-27 12:07:57 -04:00
repositories-metering-api [DOCS] Fix name of cluster_version parameter (#69615) (#69700) 2021-03-01 09:15:27 -05:00
rest-api [7.x][Transform] add support for top metrics (#72311) 2021-04-27 17:40:52 +02:00
rollup [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
scripting [DOCS] Clarify <script-id> parameter def 2021-04-23 15:05:58 -04:00
search [DOCS] Clarify timeout and terminate_after parameters (#71713) (#72163) 2021-04-23 09:53:57 -04:00
searchable-snapshots Frozen default cache size (#71844) (#71967) 2021-04-20 21:03:55 +02:00
settings [DOCS] Adds backticks to xpack.ml.use_auto_machine_memory_percent. (#71814) (#71815) 2021-04-19 11:28:24 +02:00
setup [DOCS] Disable shard allocation - data nodes only (#72265) 2021-04-27 11:21:56 +02:00
slm [DOCS] Fix typos (#72227) (#72256) 2021-04-26 14:18:27 -04:00
snapshot-restore Abort writes in repo analyzer (#72077) 2021-04-27 14:25:18 +01:00
sql [DOCS] EQL/SQL: Document runtime_mappings parameter (#71487) (#71837) 2021-04-19 09:30:00 -04:00
tab-widgets [DOCS] Update Docker instructions for quick start (#72117) (#72160) 2021-04-23 09:53:12 -04:00
text-structure/apis [ML] [DOCS] update find-structure reference docs (#67586) (#67592) 2021-01-15 13:22:59 -05:00
transform [DOCS] Adds further details and an example to how transform checkpointing works (#71615) (#71816) 2021-04-19 14:16:57 +02:00
upgrade [DOCS] Replace 'log into' with 'log in to' (#72324) (#72331) 2021-04-27 16:55:45 -04:00
vectors Add access to dense_vector values (#71847) 2021-04-19 12:44:27 -04:00
aggregations.asciidoc Convert bucket aggs docs to runtime fields (backport #71202) (#71248) 2021-04-02 12:40:19 -04:00
analysis.asciidoc [DOCS] Fix Lucene's stop words links (#70405) (#70475) 2021-03-16 17:44:42 -04:00
api-conventions.asciidoc [DOCS] Move JSON encoding section (#71508) (#71534) 2021-04-10 09:26:44 -04:00
cat.asciidoc [DOCS] Remove unneeded escapes 2021-04-26 12:15:41 -04:00
cluster.asciidoc [DOCS] Reword node roles docs (#69301) (#69459) 2021-02-23 12:02:53 -05:00
data-management.asciidoc [DOCS] Move Kibana index mgmt docs to ES (#64380) (#64413) 2020-10-30 09:29:59 -04:00
data-rollup-transform.asciidoc [DOCS] Add overview for rollup refactor (#70001) (#70233) 2021-03-10 09:03:56 -05:00
datatiers.asciidoc Remove experimental status from frozen tier docs (#71923) 2021-04-20 16:29:40 +02:00
dependencies-versions.asciidoc [DOCS] Added appendix to show dependencies (#67962) (#68033) 2021-01-26 16:53:43 -08:00
docs.asciidoc [DOCS] Remove heading offsets for REST APIs (#44568) 2019-07-19 14:36:06 -04:00
frozen-indices.asciidoc [DOCS] Make cat API verbose query param explicit (#67300) (#67305) 2021-01-12 08:33:50 -05:00
getting-started.asciidoc [DOCS] Update quick start heading 2021-04-26 17:48:24 -04:00
glossary.asciidoc [DOCS] Rename Glossary (#71222) (#71227) 2021-04-02 09:34:23 -04:00
gs-index.asciidoc
high-availability.asciidoc [DOCS] Add docs for designing resilient clusters (#47233) (#57743) 2020-06-05 12:08:45 -04:00
how-to.asciidoc [DOCS] Add how-to guide for time series data (#71195) (#71296) 2021-04-05 15:03:20 -04:00
index-modules.asciidoc [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
index.asciidoc [DOCS] Rename ES Reference to ES Guide (#71198) 2021-04-01 15:39:19 -04:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc [DOCS] Replace put with create or update in API names (#70330) (#70421) 2021-03-15 17:16:13 -04:00
ingest.asciidoc Expose dynamic_templates parameter in Ingest (#71716) 2021-04-19 14:47:20 -04:00
intro.asciidoc [DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
links.asciidoc [DOCS] Rename ES Reference to ES Guide (#71198) 2021-04-01 15:39:19 -04:00
mapping.asciidoc [DOCS] [7.x] Runtime fields improvements (#66530) (#67271) 2021-01-11 12:55:05 -05:00
query-dsl.asciidoc [DOC] Fix typos (#71869) (#71949) 2021-04-20 11:46:08 -04:00
redirects.asciidoc [DOCS] [7.x] Add redirects for service accounts to fix build errors (#72271) 2021-04-26 15:21:15 -04:00
release-notes.asciidoc Add release notes for 7.12.1 (#71703) (#71768) 2021-04-19 10:35:02 -04:00
scripting.asciidoc [DOCS] [7.x] Focus scripting docs on Painless (#69748) (#70588) 2021-03-18 17:33:44 -04:00
search.asciidoc Introduce eql search status API (#68065) (#68913) 2021-02-11 11:05:21 -05:00
setup.asciidoc Introduce ES_JAVA_HOME (#68954) 2021-02-17 12:44:34 -05:00
upgrade.asciidoc [DOCS] Update upgrade docs for 7.14 (#72168) 2021-04-23 15:13:02 -04:00