Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Clarify that term filters are not cached #781

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 080_Structured_Search/05_term.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.