From 9b49be6cf05d67b689f0e6bd473104e484a2f2fa Mon Sep 17 00:00:00 2001 From: amanullah92 Date: Tue, 25 Sep 2018 11:52:22 +0530 Subject: [PATCH] Update 05_term.asciidoc Term filters are no longer cached, so it's best to tell it upfront. --- 080_Structured_Search/05_term.asciidoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/080_Structured_Search/05_term.asciidoc b/080_Structured_Search/05_term.asciidoc index 0ed13335d..e135a76cd 100644 --- a/080_Structured_Search/05_term.asciidoc +++ b/080_Structured_Search/05_term.asciidoc @@ -321,5 +321,7 @@ you can conceptually think of non-scoring queries as executing _before_ the scor queries. The job of non-scoring queries is to reduce the number of documents that the more costly scoring queries need to evaluate, resulting in a faster search request. +Note: Term queries are not cached as of version 5.x because they are already quite fast. See this link [https://github.com/elastic/elasticsearch/issues/16031] + By conceptually thinking of non-scoring queries as executing first, you'll be equipped to write efficient and fast search requests.