Hi,
I have a problem on elastic search im newbie and sorry bad english
i have some data for example
{ fdate:2012-11-22,id:1,name:test1,platform:1}
{ fdate:2012-11-22,id:1,name:test1,platform:2}
{ fdate:2012-11-22,id:1,name:test1,platform:3}
{ fdate:2012-11-22,id:1,name:test1,platform:4}
{ fdate:2012-11-22,id:1,name:test1,platform:5}
{ fdate:2012-11-22,id:1,name:test1,platform:6}
{ fdate:2012-11-22,id:1,name:test1,platform:1}
{ fdate:2012-11-23,id:1,name:test1,platform:2}
{ fdate:2012-11-23,id:1,name:test1,platform:3}
{ fdate:2012-11-23,id:1,name:test1,platform:1}
{ fdate:2012-11-23,id:1,name:test1,platform:1}
How many posts in a single query, which came a day that you would like to receive the platform
explain
terms
{
[2012-11-22]
{
terms
{
term:[1],count:[2];
term:[2],count:[1];
term:[3],count:[1];
term:[4],count:[1];
term:[5],count:[1];
term:[6],count:[1];
}
count:7;
}
[2012-11-23]
{
terms:
{
term:[1],count:[2];
term:[3],count:[1];
}
count:3;
}
}
Its possible ?
or you help me another way for this question;
Thanks.