Percolate query on nested document

Hi,
I have a nested document, the mapping setting for the same is as follows

"properties" : {
"name" : {
"type" : "text"
},
"description" : {
"type" : "text"
},
"rawDataColl" : {
"type" : "nested",
"properties" : {
"name" : {
"type" : "text"
},
"description" : {
"type" : "text"
}
}
}
}

I am trying to use percolate query for document of the above type. The percolate query has the following query
{
"searchTextQuery": {
"match": {
"rawDataColl.name": {
"query": "Beautician"
}
}
}
}

When i run the percolate query it returns me correct results if the query has match element on name attribute, however if query has match element on rawDataColl.name then percolate query does not works.

Can any one please tell me, whether percolate query is not supported on nested documents or i am doing something wrong?

Thanks
Vishvadeepak

If you have a nested mapping then your percolator query should also contain a nested query.

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