NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Compound queries wrap other compound or leaf queries, either to combine their results and scores, to change their behaviour, or to switch from query to filter context.
NEST exposes all of the term queries available in Elasticsearch
See the Elasticsearch documentation on Compound queries for more details.