diff --git a/docs/reference/query-dsl/wildcard-query.asciidoc b/docs/reference/query-dsl/wildcard-query.asciidoc index 947b8d12f2a78..c2b4213a66866 100644 --- a/docs/reference/query-dsl/wildcard-query.asciidoc +++ b/docs/reference/query-dsl/wildcard-query.asciidoc @@ -81,6 +81,9 @@ the iterations needed to find matching terms and slow search performance. [[wildcard-query-notes]] ==== Notes + +Wildcard queries using `*` can be resource-intensive, particularly with leading wildcards. To improve performance, minimize their use and consider alternatives like the <>. While this allows for more efficient searching, it may increase index size. For better performance and accuracy, combine wildcard queries with other query types like <> or <> to first narrow down results. + ===== Allow expensive queries Wildcard queries will not be executed if <> is set to false.