Hi all,
I am using ES 1.2.1.
I have the following type of data:
{"splashView":"Y","orderPlaced":"Y","timestamp":"1428402321850","parsed":"true","type":"cpeevent"}
{"splashView":"Y","orderPlaced":"N","timestamp":"1428402322100","parsed":"true","type":"cpeevent"}
The mapping for these fields are:
"splashView":
{
"type": "string",
"store": true,
"analyzer": "standard"
},
"orderPlaced":
{
"type": "string",
"store": true,
"analyzer": "standard"
},
I am performing the following query:
{
"aggs" : {
"splashcount" : {
"filters" : {
"filters" : {
"orderPlaced1" : { "term" : { "orderPlaced" : "Y" }},
"splashView1" : { "term" : { "splashView" : "Y" }}
}
}
}
}
}
But not getting any response:
{
"took": 3,
"timed_out": false,
"_shards":
{
"total": 5,
"successful": 5,
"failed": 0
},
"hits":
{
"total": 11,
"max_score": 1,
"aggregations":
{
"splashcount":
{
"buckets":
{
"orderPlaced1":
{
"doc_count": 0
},
"splashView1":
{
"doc_count": 0
}
}
}
}
}
Can anyone tell me why I am not getting doc count when the data matching
the filter is there?
Regards,
Rakesh Kumar Rakshit
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1a70b439-ed94-4e8c-a0e9-25d146ea896f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.