File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -582,15 +582,12 @@ endif::cloud-terms[]
582582ifdef::elasticsearch-terms[]
583583[[glossary-query]] query ::
584584
585- A query is the basic component of a search. A search can be defined by one or
586- more queries which can be mixed and matched in endless combinations. While
587- <<glossary-filter,filters>> are queries that only determine if a document
588- matches, those queries that also calculate how well the document matches are
589- known as "scoring queries". Those queries assign it a score, which is later used
590- to sort matched documents. Scoring queries take more resources than
591- <<glossary-filter,non scoring queries>> and their query results are not
592- cacheable. As a general rule, use query clauses for full-text search or for any
593- condition that requires scoring, and use filters for everything else.
585+ A request for information from {es}. You can think of a query as a question,
586+ written in a way {es} understands. A search consists of one or more queries
587+ combined.
588+ +
589+ There are two types of queries: _scoring queries_ and _filters_. For more
590+ information about query types, see {ref}/query-filter-context.html[Query and filter context].
594591
595592//Source: Elasticsearch
596593endif::elasticsearch-terms[]
You can’t perform that action at this time.
0 commit comments