I am trying to find a specific query saved in the Percolator Index. Haven't seen any documentation related to it. One of the SOF question helps get all the queries persisted in the index.
One of my sample query persisted in the Percolator
curl -XPUT "http://localhost:9200/notifications/.percolator/1" -d'
{
"query" : {
"match" : {
"tags" : "elasticsearch"
}}
}'
And other sample query like
curl -XPUT "http://localhost:9200/notifications/.percolator/4" -d'
{
"query" : {
"bool": {
"should": [
{ "term": {
"tags": "Hbase"
}
},
{ "term": {
"user": "abc"
}
}
]
, "minimum_number_should_match": 1
}
}
}'
Is there any way I can pull a specific query? Based on the examples above, I would like to find a query which matches to user: "abc"