New

The executive guide to generative AI

Read more
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Type Query

edit

Filters documents matching the provided document / mapping type.

GET /_search
{
    "query": {
        "type" : {
            "value" : "_doc"
        }
    }
}
Was this helpful?
Feedback