Support for elasticsearch[v2.3] queries based on document type

Can you please elaborate a bit more about what you’re trying to achieve, what you already tried and what’s not working? Thanks :pray:

Sure,
I am using Redash with elasticsearch 2.3 having many document types i.e d1,d2,d3,d4
Query is like
{
“index”:“test”,
“query”:{
“bool”:{
“must”:[
{
“terms”:{
“key”:[“k1”]
}
}
]
}
}
}

Is there any way to use query to retrieve documents of type d1 using redash ?

http://localhost:9200/test/d1/_search
Above will return all documents of type d1