[[query-dsl-limit-query]] == Limit Query deprecated[1.6.0, Use <> instead] A limit query limits the number of documents (per shard) to execute on. For example: [source,js] -------------------------------------------------- { "filtered" : { "filter" : { "limit" : {"value" : 100} }, "query" : { "term" : { "name.first" : "shay" } } } } --------------------------------------------------