2013-08-28 19:24:34 -04:00
|
|
|
[[indices]]
|
2019-07-19 14:35:36 -04:00
|
|
|
== Index APIs
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2019-07-17 08:49:22 -04:00
|
|
|
Index APIs are used to manage individual indices,
|
2015-12-22 11:08:35 -05:00
|
|
|
index settings, aliases, mappings, and index templates.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[index-management]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Index management:
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
* <<indices-create-index>>
|
|
|
|
* <<indices-delete-index>>
|
2014-08-12 06:42:12 -04:00
|
|
|
* <<indices-get-index>>
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-exists>>
|
|
|
|
* <<indices-open-close>>
|
2016-05-31 04:41:44 -04:00
|
|
|
* <<indices-shrink-index>>
|
2017-11-06 05:37:55 -05:00
|
|
|
* <<indices-split-index>>
|
2019-07-25 14:17:51 -04:00
|
|
|
* <<indices-clone-index>>
|
2016-06-08 18:32:22 -04:00
|
|
|
* <<indices-rollover-index>>
|
2019-07-17 08:49:22 -04:00
|
|
|
* <<freeze-index-api>>
|
|
|
|
* <<unfreeze-index-api>>
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[mapping-management]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Mapping management:
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
* <<indices-put-mapping>>
|
2013-10-14 02:53:07 -04:00
|
|
|
* <<indices-get-mapping>>
|
|
|
|
* <<indices-get-field-mapping>>
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-types-exists>>
|
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[alias-management]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Alias management:
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-aliases>>
|
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[index-settings]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Index settings:
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-update-settings>>
|
|
|
|
* <<indices-get-settings>>
|
|
|
|
* <<indices-analyze>>
|
|
|
|
* <<indices-templates>>
|
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[monitoring]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Monitoring:
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-stats>>
|
|
|
|
* <<indices-segments>>
|
2014-02-18 17:28:49 -05:00
|
|
|
* <<indices-recovery>>
|
2015-07-18 06:03:59 -04:00
|
|
|
* <<indices-shards-stores>>
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
[float]
|
2013-09-25 12:17:40 -04:00
|
|
|
[[status-management]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== Status management:
|
2013-08-28 19:24:34 -04:00
|
|
|
* <<indices-clearcache>>
|
|
|
|
* <<indices-refresh>>
|
|
|
|
* <<indices-flush>>
|
2015-09-17 16:36:25 -04:00
|
|
|
* <<indices-forcemerge>>
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
include::indices/create-index.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/delete-index.asciidoc[]
|
|
|
|
|
2014-08-12 06:42:12 -04:00
|
|
|
include::indices/get-index.asciidoc[]
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::indices/indices-exists.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/open-close.asciidoc[]
|
|
|
|
|
2016-05-31 05:50:50 -04:00
|
|
|
include::indices/shrink-index.asciidoc[]
|
|
|
|
|
2017-11-06 06:55:41 -05:00
|
|
|
include::indices/split-index.asciidoc[]
|
|
|
|
|
2019-07-25 14:17:51 -04:00
|
|
|
include::indices/clone-index.asciidoc[]
|
|
|
|
|
2016-06-17 12:14:45 -04:00
|
|
|
include::indices/rollover-index.asciidoc[]
|
|
|
|
|
2019-07-17 08:49:22 -04:00
|
|
|
include::indices/apis/freeze.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/apis/unfreeze.asciidoc[]
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::indices/put-mapping.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/get-mapping.asciidoc[]
|
|
|
|
|
2013-10-14 02:53:07 -04:00
|
|
|
include::indices/get-field-mapping.asciidoc[]
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::indices/types-exists.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/aliases.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/update-settings.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/get-settings.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/analyze.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/templates.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/stats.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/segments.asciidoc[]
|
|
|
|
|
2014-02-18 17:28:49 -05:00
|
|
|
include::indices/recovery.asciidoc[]
|
|
|
|
|
2015-07-18 06:08:46 -04:00
|
|
|
include::indices/shard-stores.asciidoc[]
|
2015-07-18 06:03:59 -04:00
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::indices/clearcache.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/flush.asciidoc[]
|
|
|
|
|
|
|
|
include::indices/refresh.asciidoc[]
|
|
|
|
|
2015-09-17 16:36:25 -04:00
|
|
|
include::indices/forcemerge.asciidoc[]
|
2013-08-28 19:24:34 -04:00
|
|
|
|