Type query versus _search within a specified type

Hi,
Is there any difference between a type query and a _search performed within a specified index/type context?

GET /_search
{
    "query": {
        "type" : {
            "value" : "my_type"
        }
    }
}

GET _all/my_type/_search
{}

Should they differ in some way, could you provide a use case showing the difference?

Thank you,
Kasia

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.