OpenSearch Best Practices

< Back to all guides
All Script Types are Allowed to Run in OpenSearch

OpenSearch scripts can place heavy loads on clusters if they are not written carefully. It is a best practice to limit the type of..

Enable Adaptive Replica Selection in OpenSearch

Adaptive replica selection is a process that prevents a distressed OpenSearch node from delaying the response to queries. To enable it...

Enable Shard Rebalancing and Allocation in OpenSearch

OpenSearch cluster shard rebalancing and allocation are often confused with each other. If cluster shard rebalancing isn't enabled, then...

Expensive Queries are Allowed to Run in OpenSearch

By default, OpenSearch expensive queries are allowed to run. By setting search.allow_expensive_queries to false, you can prevent users...

Misuse of Wildcards in OpenSearch

It's possible to reduce the risk of accidental deletion of indices by preventing OpenSearch wildcard use for destructive operations. To...

OpenSearch Bootstrap Checks

OpenSearch carries out "bootstrap checks" to ensure that important settings have been set correctly. If any of these fail, ES won't start.

OpenSearch Bootstrap Memory_Lock is Set to False

OpenSearch can be configured to prevent memory swapping on its host machine by adding bootstrap memory_lock true. If bootstrap checks...

OpenSearch Cluster Blocks Read-Only

An OpenSearch read-only delete block can be applied automatically by the cluster because of a disk space issue. It can be applied manually...

OpenSearch File Descriptors

File descriptors are required to keep track of all the files OpenSearch has open at any given time, as well as all network...

OpenSearch Script Regex is Enabled in Painless Scripts

Script regex is disabled in OpenSearch by default, but you can decide to enable it. Regex must be used with care in painless scripts...


Loved by the Community ❤️

Our products are loved by over 12,000 users from the community. Thank you to our customers from all around the world!
Skip to content