mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
* Add basic support for field aliases in index mappings. (#31287) * Allow for aliases when fetching stored fields. (#31411) * Add tests around accessing field aliases in scripts. (#31417) * Add documentation around field aliases. (#31538) * Add validation for field alias mappings. (#31518) * Return both concrete fields and aliases in DocumentFieldMappers#getMapper. (#31671) * Make sure that field-level security is enforced when using field aliases. (#31807) * Add more comprehensive tests for field aliases in queries + aggregations. (#31565) * Remove the deprecated method DocumentFieldMappers#getFieldMapper. (#32148)
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
[[indices-clearcache]]
|
|
== Clear Cache
|
|
|
|
The clear cache API allows to clear either all caches or specific cached
|
|
associated with one or more indices.
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
POST /twitter/_cache/clear
|
|
--------------------------------------------------
|
|
// CONSOLE
|
|
// TEST[setup:twitter]
|
|
|
|
The API, by default, will clear all caches. Specific caches can be cleaned
|
|
explicitly by setting `query`, `fielddata` or `request`.
|
|
|
|
All caches relating to a specific field(s) can also be cleared by
|
|
specifying `fields` parameter with a comma delimited list of the
|
|
relevant fields. Note that the provided names must refer to concrete
|
|
fields -- objects and field aliases are not supported.
|
|
|
|
[float]
|
|
=== Multi Index
|
|
|
|
The clear cache API can be applied to more than one index with a single
|
|
call, or even on `_all` the indices.
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
POST /kimchy,elasticsearch/_cache/clear
|
|
|
|
POST /_cache/clear
|
|
--------------------------------------------------
|
|
// CONSOLE
|
|
// TEST[s/^/PUT kimchy\nPUT elasticsearch\n/]
|