Elasticsearch[2.3] document type support


#1

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


#2

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:


#3

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