Query Dsl Cont'd
Leaf query clause: an equivalent of where clause in Sql statement for a particular field value
query_string
is using Lucene syntax:id:1
Compound query clause: an equivalent of
and
,or
,not
, and etc. operators in sql statementbool
represents boolean combinations of other queries, e.g.:must
andfilter
must
represents a condition that must be matched and will be used for computing score or relevancy of the search resultfilter
act as amust
condition, but will not contribute to the computation of score or relevancy of document foundAdditional options for bool are: should and must_not
Last updated
Was this helpful?