Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

After reading some Elasticsearch index tuning guides like How to Maximize Elasticsearch Index Performance and elastic's Tune for indexing speed I wanted to take a look at updating the refresh_interval.

We are using AWS Elasticsearch domains (elasticsearch version 6.2). There's no mention of refresh_interval on Cloudformation's doc site AWS::Elasticsearch::Domain

So I wanted to see what the default setting was for AWS Elasticsearch. Using the _settings API doesn't show the refresh_interval.

GET /my_index/_settings

And specifying the refresh_interval doesn't show anything either.

GET /my_index/_settings/index.refresh_interval

Only returns an empty object.

{}

How can I find the current refresh_interval for AWS Elasticsearch?

1 Answer

0 votes
by (44.4k points)

To retrieve the default values, you have to add this parameter called include_defaults.

GET /my_index/_settings?include_defaults=true

In response, you will get a defaults section with the default values.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories

...