Elasticsearch文档
Elasticsearch文档 一、elasticsearch查询子句:elasticsearch查询子句主要分为叶子子句和混合查询子句,其中term、match等等只能存在于查询json叶子位置的子句为叶子查询子句,像bool、must等等这些可以包含其他查询子句的为混合查询子句。 官网解释: Elasticsearch provides a full Query DSL based on JSON to define queries. Think of the Query DSL as an AST of queries, consisting of two types of clauses: Leaf query clauses Leaf query clauses look for a particular value in a particular field, such as the match , term or range queries. These queries can be used by themselves. Compound query clauses Compound query clauses wrap other leaf or compound queries and are used to combine multiple queries