[[query-dsl-queries]]
== Queries

As a general rule, queries should be used instead of filters:

* for full text search
* where the result depends on a relevance score

include::queries/match-query.asciidoc[]

include::queries/multi-match-query.asciidoc[]

include::queries/bool-query.asciidoc[]

include::queries/boosting-query.asciidoc[]

include::queries/common-terms-query.asciidoc[]

include::queries/constant-score-query.asciidoc[]

include::queries/dis-max-query.asciidoc[]

include::queries/filtered-query.asciidoc[]

include::queries/flt-query.asciidoc[]

include::queries/flt-field-query.asciidoc[]

include::queries/function-score-query.asciidoc[]

include::queries/fuzzy-query.asciidoc[]

include::queries/geo-shape-query.asciidoc[]

include::queries/has-child-query.asciidoc[]

include::queries/has-parent-query.asciidoc[]

include::queries/ids-query.asciidoc[]

include::queries/indices-query.asciidoc[]

include::queries/match-all-query.asciidoc[]

include::queries/mlt-query.asciidoc[]

include::queries/mlt-field-query.asciidoc[]

include::queries/nested-query.asciidoc[]

include::queries/prefix-query.asciidoc[]

include::queries/query-string-query.asciidoc[]

include::queries/simple-query-string-query.asciidoc[]

include::queries/range-query.asciidoc[]

include::queries/regexp-query.asciidoc[]

include::queries/span-first-query.asciidoc[]

include::queries/span-multi-term-query.asciidoc[]

include::queries/span-near-query.asciidoc[]

include::queries/span-not-query.asciidoc[]

include::queries/span-or-query.asciidoc[]

include::queries/span-term-query.asciidoc[]

include::queries/term-query.asciidoc[]

include::queries/terms-query.asciidoc[]

include::queries/top-children-query.asciidoc[]

include::queries/wildcard-query.asciidoc[]

include::queries/minimum-should-match.asciidoc[]

include::queries/multi-term-rewrite.asciidoc[]

include::queries/template-query.asciidoc[]
