mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[IM] Added the parameter features
to the indices list API to improve ES performance (#124163)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
d7daf41798
commit
7b9901eac8
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ async function fetchIndicesCall(
|
|||
'*.settings.index.hidden',
|
||||
'*.data_stream',
|
||||
],
|
||||
// for better performance only compute aliases and settings of indices but not mappings
|
||||
// @ts-expect-error new param https://github.com/elastic/elasticsearch-specification/issues/1382
|
||||
features: ['aliases', 'settings'],
|
||||
});
|
||||
|
||||
if (!Object.keys(indices).length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue