2017-08-01 04:38:56 -04:00
|
|
|
[[java-rest-high-supported-apis]]
|
2017-02-24 07:52:36 -05:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
== Document APIs
|
2017-07-03 04:48:16 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
The Java High Level REST Client supports the following Document APIs:
|
2017-10-26 03:52:46 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
[[single-doc]]
|
2017-09-06 08:06:41 -04:00
|
|
|
Single document APIs::
|
2017-07-03 04:48:16 -04:00
|
|
|
* <<java-rest-high-document-index>>
|
2017-07-05 05:57:57 -04:00
|
|
|
* <<java-rest-high-document-get>>
|
2017-02-24 07:52:36 -05:00
|
|
|
* <<java-rest-high-document-delete>>
|
2017-07-05 06:16:42 -04:00
|
|
|
* <<java-rest-high-document-update>>
|
2017-07-03 04:48:16 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
[[multi-doc]]
|
|
|
|
Multi-document APIs::
|
2017-07-05 03:26:26 -04:00
|
|
|
* <<java-rest-high-document-bulk>>
|
2018-03-16 18:52:34 -04:00
|
|
|
* <<java-rest-high-document-multi-get>>
|
2018-08-28 13:02:23 -04:00
|
|
|
* <<java-rest-high-document-reindex>>
|
2018-09-02 15:15:00 -04:00
|
|
|
* <<java-rest-high-document-update-by-query>>
|
2018-09-04 08:56:26 -04:00
|
|
|
* <<java-rest-high-document-delete-by-query>>
|
2017-07-03 04:48:16 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
include::document/index.asciidoc[]
|
|
|
|
include::document/get.asciidoc[]
|
2018-03-15 12:10:30 -04:00
|
|
|
include::document/exists.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
include::document/delete.asciidoc[]
|
|
|
|
include::document/update.asciidoc[]
|
|
|
|
include::document/bulk.asciidoc[]
|
2018-03-16 18:52:34 -04:00
|
|
|
include::document/multi-get.asciidoc[]
|
2018-08-28 13:02:23 -04:00
|
|
|
include::document/reindex.asciidoc[]
|
2018-09-02 15:15:00 -04:00
|
|
|
include::document/update-by-query.asciidoc[]
|
2018-09-04 08:56:26 -04:00
|
|
|
include::document/delete-by-query.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
|
|
|
|
== Search APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Search APIs:
|
|
|
|
|
2017-07-07 06:19:33 -04:00
|
|
|
* <<java-rest-high-search>>
|
|
|
|
* <<java-rest-high-search-scroll>>
|
|
|
|
* <<java-rest-high-clear-scroll>>
|
2018-05-15 16:07:58 -04:00
|
|
|
* <<java-rest-high-search-template>>
|
2018-06-28 09:05:26 -04:00
|
|
|
* <<java-rest-high-multi-search-template>>
|
2018-03-23 10:11:50 -04:00
|
|
|
* <<java-rest-high-multi-search>>
|
2018-04-26 12:50:37 -04:00
|
|
|
* <<java-rest-high-field-caps>>
|
2018-04-10 04:15:31 -04:00
|
|
|
* <<java-rest-high-rank-eval>>
|
2018-06-27 09:20:56 -04:00
|
|
|
* <<java-rest-high-explain>>
|
2017-08-01 04:38:56 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
include::search/search.asciidoc[]
|
|
|
|
include::search/scroll.asciidoc[]
|
2018-03-23 10:11:50 -04:00
|
|
|
include::search/multi-search.asciidoc[]
|
2018-05-15 16:07:58 -04:00
|
|
|
include::search/search-template.asciidoc[]
|
2018-06-28 09:05:26 -04:00
|
|
|
include::search/multi-search-template.asciidoc[]
|
2018-04-26 12:50:37 -04:00
|
|
|
include::search/field-caps.asciidoc[]
|
2018-04-10 04:15:31 -04:00
|
|
|
include::search/rank-eval.asciidoc[]
|
2018-06-27 09:20:56 -04:00
|
|
|
include::search/explain.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
|
|
|
|
== Miscellaneous APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Miscellaneous APIs:
|
|
|
|
|
2017-08-01 04:38:56 -04:00
|
|
|
* <<java-rest-high-main>>
|
2018-03-14 14:27:01 -04:00
|
|
|
* <<java-rest-high-ping>>
|
2018-07-08 11:03:56 -04:00
|
|
|
* <<java-rest-high-x-pack-info>>
|
2018-08-10 08:12:42 -04:00
|
|
|
* <<java-rest-high-x-pack-usage>>
|
2017-09-06 08:06:41 -04:00
|
|
|
|
2018-02-02 11:19:50 -05:00
|
|
|
include::miscellaneous/main.asciidoc[]
|
2018-03-14 14:27:01 -04:00
|
|
|
include::miscellaneous/ping.asciidoc[]
|
2018-08-10 08:12:42 -04:00
|
|
|
include::miscellaneous/x-pack-info.asciidoc[]
|
|
|
|
include::miscellaneous/x-pack-usage.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
|
|
|
|
== Indices APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Indices APIs:
|
|
|
|
|
|
|
|
Index Management::
|
|
|
|
* <<java-rest-high-create-index>>
|
|
|
|
* <<java-rest-high-delete-index>>
|
|
|
|
* <<java-rest-high-indices-exists>>
|
|
|
|
* <<java-rest-high-open-index>>
|
|
|
|
* <<java-rest-high-close-index>>
|
|
|
|
* <<java-rest-high-shrink-index>>
|
|
|
|
* <<java-rest-high-split-index>>
|
2018-02-28 05:49:14 -05:00
|
|
|
* <<java-rest-high-refresh>>
|
2018-03-01 04:56:03 -05:00
|
|
|
* <<java-rest-high-flush>>
|
2018-05-30 07:32:52 -04:00
|
|
|
* <<java-rest-high-flush-synced>>
|
2018-03-20 05:39:36 -04:00
|
|
|
* <<java-rest-high-clear-cache>>
|
2018-03-22 12:17:16 -04:00
|
|
|
* <<java-rest-high-force-merge>>
|
2018-02-20 09:58:58 -05:00
|
|
|
* <<java-rest-high-rollover-index>>
|
2018-04-16 15:39:11 -04:00
|
|
|
* <<java-rest-high-indices-put-settings>>
|
2018-05-04 11:14:28 -04:00
|
|
|
* <<java-rest-high-get-settings>>
|
2018-06-18 09:59:29 -04:00
|
|
|
* <<java-rest-high-indices-validate-query>>
|
2018-07-05 13:52:25 -04:00
|
|
|
* <<java-rest-high-get-index>>
|
2018-02-02 11:19:50 -05:00
|
|
|
|
|
|
|
Mapping Management::
|
|
|
|
* <<java-rest-high-put-mapping>>
|
2018-07-03 19:10:52 -04:00
|
|
|
* <<java-rest-high-get-mappings>>
|
2018-06-23 03:39:17 -04:00
|
|
|
* <<java-rest-high-get-field-mappings>>
|
2018-02-02 11:19:50 -05:00
|
|
|
|
|
|
|
Alias Management::
|
|
|
|
* <<java-rest-high-update-aliases>>
|
|
|
|
* <<java-rest-high-exists-alias>>
|
2018-06-12 04:26:17 -04:00
|
|
|
* <<java-rest-high-get-alias>>
|
2018-02-02 11:19:50 -05:00
|
|
|
|
2018-07-03 10:57:02 -04:00
|
|
|
include::indices/analyze.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
include::indices/create_index.asciidoc[]
|
|
|
|
include::indices/delete_index.asciidoc[]
|
|
|
|
include::indices/indices_exists.asciidoc[]
|
|
|
|
include::indices/open_index.asciidoc[]
|
|
|
|
include::indices/close_index.asciidoc[]
|
|
|
|
include::indices/shrink_index.asciidoc[]
|
|
|
|
include::indices/split_index.asciidoc[]
|
2018-02-28 05:49:14 -05:00
|
|
|
include::indices/refresh.asciidoc[]
|
2018-03-01 04:56:03 -05:00
|
|
|
include::indices/flush.asciidoc[]
|
2018-05-30 07:32:52 -04:00
|
|
|
include::indices/flush_synced.asciidoc[]
|
2018-03-20 05:39:36 -04:00
|
|
|
include::indices/clear_cache.asciidoc[]
|
2018-03-22 12:17:16 -04:00
|
|
|
include::indices/force_merge.asciidoc[]
|
2018-02-20 09:58:58 -05:00
|
|
|
include::indices/rollover.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
include::indices/put_mapping.asciidoc[]
|
2018-06-04 16:31:08 -04:00
|
|
|
include::indices/get_mappings.asciidoc[]
|
2018-06-23 03:39:17 -04:00
|
|
|
include::indices/get_field_mappings.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
include::indices/update_aliases.asciidoc[]
|
|
|
|
include::indices/exists_alias.asciidoc[]
|
2018-06-12 04:26:17 -04:00
|
|
|
include::indices/get_alias.asciidoc[]
|
2018-04-16 15:39:11 -04:00
|
|
|
include::indices/put_settings.asciidoc[]
|
2018-05-04 11:14:28 -04:00
|
|
|
include::indices/get_settings.asciidoc[]
|
2018-05-06 09:47:36 -04:00
|
|
|
include::indices/put_template.asciidoc[]
|
2018-06-18 09:59:29 -04:00
|
|
|
include::indices/validate_query.asciidoc[]
|
2018-06-11 11:06:28 -04:00
|
|
|
include::indices/get_templates.asciidoc[]
|
2018-07-05 13:52:25 -04:00
|
|
|
include::indices/get_index.asciidoc[]
|
2018-02-02 11:19:50 -05:00
|
|
|
|
2018-02-15 11:21:45 -05:00
|
|
|
== Cluster APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Cluster APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-cluster-put-settings>>
|
2018-07-02 13:25:17 -04:00
|
|
|
* <<java-rest-high-cluster-get-settings>>
|
2018-06-12 07:34:06 -04:00
|
|
|
* <<java-rest-high-cluster-health>>
|
2018-02-15 11:21:45 -05:00
|
|
|
|
|
|
|
include::cluster/put_settings.asciidoc[]
|
2018-07-02 13:25:17 -04:00
|
|
|
include::cluster/get_settings.asciidoc[]
|
2018-06-12 07:34:06 -04:00
|
|
|
include::cluster/health.asciidoc[]
|
2018-06-04 04:34:55 -04:00
|
|
|
|
|
|
|
== Ingest APIs
|
|
|
|
The Java High Level REST Client supports the following Ingest APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-ingest-put-pipeline>>
|
|
|
|
* <<java-rest-high-ingest-get-pipeline>>
|
|
|
|
* <<java-rest-high-ingest-delete-pipeline>>
|
2018-06-22 03:59:04 -04:00
|
|
|
* <<java-rest-high-ingest-simulate-pipeline>>
|
2018-06-04 04:34:55 -04:00
|
|
|
|
|
|
|
include::ingest/put_pipeline.asciidoc[]
|
|
|
|
include::ingest/get_pipeline.asciidoc[]
|
|
|
|
include::ingest/delete_pipeline.asciidoc[]
|
2018-06-22 03:59:04 -04:00
|
|
|
include::ingest/simulate_pipeline.asciidoc[]
|
2018-05-09 08:25:23 -04:00
|
|
|
|
|
|
|
== Snapshot APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Snapshot APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-snapshot-get-repository>>
|
2018-05-21 20:52:21 -04:00
|
|
|
* <<java-rest-high-snapshot-create-repository>>
|
|
|
|
* <<java-rest-high-snapshot-delete-repository>>
|
2018-05-30 12:10:00 -04:00
|
|
|
* <<java-rest-high-snapshot-verify-repository>>
|
2018-06-27 12:30:10 -04:00
|
|
|
* <<java-rest-high-snapshot-create-snapshot>>
|
2018-06-27 20:04:34 -04:00
|
|
|
* <<java-rest-high-snapshot-get-snapshots>>
|
2018-07-11 12:07:31 -04:00
|
|
|
* <<java-rest-high-snapshot-snapshots-status>>
|
2018-06-20 10:42:50 -04:00
|
|
|
* <<java-rest-high-snapshot-delete-snapshot>>
|
2018-05-09 08:25:23 -04:00
|
|
|
|
2018-05-15 22:21:11 -04:00
|
|
|
include::snapshot/get_repository.asciidoc[]
|
2018-05-16 07:31:37 -04:00
|
|
|
include::snapshot/create_repository.asciidoc[]
|
2018-05-21 20:52:21 -04:00
|
|
|
include::snapshot/delete_repository.asciidoc[]
|
2018-05-30 12:10:00 -04:00
|
|
|
include::snapshot/verify_repository.asciidoc[]
|
2018-06-27 12:30:10 -04:00
|
|
|
include::snapshot/create_snapshot.asciidoc[]
|
2018-06-27 20:04:34 -04:00
|
|
|
include::snapshot/get_snapshots.asciidoc[]
|
2018-07-11 12:07:31 -04:00
|
|
|
include::snapshot/snapshots_status.asciidoc[]
|
2018-06-20 10:42:50 -04:00
|
|
|
include::snapshot/delete_snapshot.asciidoc[]
|
2018-05-29 04:54:41 -04:00
|
|
|
|
|
|
|
== Tasks APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Tasks APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-tasks-list>>
|
2018-06-07 17:02:23 -04:00
|
|
|
* <<java-rest-high-cluster-cancel-tasks>>
|
2018-05-29 04:54:41 -04:00
|
|
|
|
|
|
|
include::tasks/list_tasks.asciidoc[]
|
2018-06-07 17:02:23 -04:00
|
|
|
include::tasks/cancel_tasks.asciidoc[]
|
2018-06-19 08:21:11 -04:00
|
|
|
|
|
|
|
== Script APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Scripts APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-get-stored-script>>
|
2018-09-09 07:47:47 -04:00
|
|
|
* <<java-rest-high-put-stored-script>>
|
2018-06-19 08:21:11 -04:00
|
|
|
* <<java-rest-high-delete-stored-script>>
|
|
|
|
|
|
|
|
include::script/get_script.asciidoc[]
|
2018-09-09 07:47:47 -04:00
|
|
|
include::script/put_script.asciidoc[]
|
2018-06-19 08:21:11 -04:00
|
|
|
include::script/delete_script.asciidoc[]
|
2018-07-24 14:19:07 -04:00
|
|
|
|
|
|
|
== Licensing APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Licensing APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-put-license>>
|
2018-08-10 04:55:25 -04:00
|
|
|
* <<java-rest-high-get-license>>
|
2018-08-14 05:55:54 -04:00
|
|
|
* <<java-rest-high-delete-license>>
|
2018-07-24 14:19:07 -04:00
|
|
|
|
|
|
|
include::licensing/put-license.asciidoc[]
|
2018-08-10 04:55:25 -04:00
|
|
|
include::licensing/get-license.asciidoc[]
|
2018-08-14 05:55:54 -04:00
|
|
|
include::licensing/delete-license.asciidoc[]
|
2018-08-10 08:12:42 -04:00
|
|
|
|
2018-08-14 14:52:54 -04:00
|
|
|
== Machine Learning APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Machine Learning APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-ml-put-job>>
|
2018-08-21 22:02:28 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-job>>
|
2018-08-16 08:18:43 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-delete-job>>
|
2018-08-15 14:19:41 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-open-job>>
|
2018-08-20 17:05:56 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-close-job>>
|
2018-09-01 17:01:23 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-flush-job>>
|
2018-09-06 08:18:09 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-update-job>>
|
2018-09-01 14:32:18 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-job-stats>>
|
2018-09-12 09:52:36 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-put-datafeed>>
|
2018-09-16 06:54:55 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-datafeed>>
|
2018-09-13 12:13:36 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-delete-datafeed>>
|
2018-09-07 12:16:58 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-forecast-job>>
|
2018-09-11 19:32:52 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-delete-forecast>>
|
2018-08-23 04:35:06 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-buckets>>
|
2018-09-03 08:34:36 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-overall-buckets>>
|
2018-08-29 10:03:58 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-records>>
|
2018-09-07 08:04:27 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-post-data>>
|
2018-09-05 10:06:55 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-influencers>>
|
2018-09-11 07:48:14 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-categories>>
|
2018-09-18 06:51:11 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-get-calendars>>
|
2018-09-14 10:00:18 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-put-calendar>>
|
2018-09-19 05:20:21 -04:00
|
|
|
* <<java-rest-high-x-pack-ml-delete-calendar>>
|
2018-08-14 14:52:54 -04:00
|
|
|
|
2018-08-15 14:19:41 -04:00
|
|
|
include::ml/put-job.asciidoc[]
|
2018-08-21 22:02:28 -04:00
|
|
|
include::ml/get-job.asciidoc[]
|
2018-08-16 08:18:43 -04:00
|
|
|
include::ml/delete-job.asciidoc[]
|
2018-08-15 14:19:41 -04:00
|
|
|
include::ml/open-job.asciidoc[]
|
2018-08-20 17:05:56 -04:00
|
|
|
include::ml/close-job.asciidoc[]
|
2018-09-06 08:18:09 -04:00
|
|
|
include::ml/update-job.asciidoc[]
|
2018-09-01 17:01:23 -04:00
|
|
|
include::ml/flush-job.asciidoc[]
|
2018-09-12 09:52:36 -04:00
|
|
|
include::ml/put-datafeed.asciidoc[]
|
2018-09-16 06:54:55 -04:00
|
|
|
include::ml/get-datafeed.asciidoc[]
|
2018-09-13 12:13:36 -04:00
|
|
|
include::ml/delete-datafeed.asciidoc[]
|
2018-09-01 14:32:18 -04:00
|
|
|
include::ml/get-job-stats.asciidoc[]
|
2018-09-07 12:16:58 -04:00
|
|
|
include::ml/forecast-job.asciidoc[]
|
2018-09-11 19:32:52 -04:00
|
|
|
include::ml/delete-forecast.asciidoc[]
|
2018-08-23 04:35:06 -04:00
|
|
|
include::ml/get-buckets.asciidoc[]
|
2018-09-03 08:34:36 -04:00
|
|
|
include::ml/get-overall-buckets.asciidoc[]
|
2018-08-29 10:03:58 -04:00
|
|
|
include::ml/get-records.asciidoc[]
|
2018-09-07 08:04:27 -04:00
|
|
|
include::ml/post-data.asciidoc[]
|
2018-09-05 10:06:55 -04:00
|
|
|
include::ml/get-influencers.asciidoc[]
|
2018-09-11 07:48:14 -04:00
|
|
|
include::ml/get-categories.asciidoc[]
|
2018-09-18 06:51:11 -04:00
|
|
|
include::ml/get-calendars.asciidoc[]
|
2018-09-14 10:00:18 -04:00
|
|
|
include::ml/put-calendar.asciidoc[]
|
2018-09-19 05:20:21 -04:00
|
|
|
include::ml/delete-calendar.asciidoc[]
|
2018-08-14 14:52:54 -04:00
|
|
|
|
2018-08-13 05:05:27 -04:00
|
|
|
== Migration APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Migration APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-migration-get-assistance>>
|
|
|
|
|
|
|
|
include::migration/get-assistance.asciidoc[]
|
|
|
|
|
2018-09-17 03:10:23 -04:00
|
|
|
== Rollup APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Rollup APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-rollup-put-job>>
|
|
|
|
|
|
|
|
include::rollup/put_job.asciidoc[]
|
|
|
|
|
2018-09-07 13:51:37 -04:00
|
|
|
== Security APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Security APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-security-put-user>>
|
|
|
|
* <<java-rest-high-security-enable-user>>
|
|
|
|
* <<java-rest-high-security-disable-user>>
|
|
|
|
|
|
|
|
include::security/put-user.asciidoc[]
|
|
|
|
include::security/enable-user.asciidoc[]
|
|
|
|
include::security/disable-user.asciidoc[]
|
|
|
|
|
2018-08-10 08:12:42 -04:00
|
|
|
== Watcher APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Watcher APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-watcher-put-watch>>
|
|
|
|
* <<java-rest-high-x-pack-watcher-delete-watch>>
|
|
|
|
|
|
|
|
include::watcher/put-watch.asciidoc[]
|
|
|
|
include::watcher/delete-watch.asciidoc[]
|
2018-08-21 08:29:18 -04:00
|
|
|
|
|
|
|
== Graph APIs
|
|
|
|
|
|
|
|
The Java High Level REST Client supports the following Graph APIs:
|
|
|
|
|
|
|
|
* <<java-rest-high-x-pack-graph-explore>>
|
|
|
|
|
|
|
|
include::graph/explore.asciidoc[]
|