# Facet Like Solr

**URL:** <https://discuss.elastic.co/t/facet-like-solr/9804>\
**Category:** Elasticsearch\
**Created:** [November 23, 2012, 1:07pm UTC](https://discuss.elastic.co/t/facet-like-solr/9804 "2012-11-23T13:07:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xclopses](https://avatars.discourse-cdn.com/v4/letter/x/7cd45c/32.png) [@xclopses](https://discuss.elastic.co/u/xclopses)\
**Post date:** [November 23, 2012, 1:07pm UTC](https://discuss.elastic.co/t/facet-like-solr/9804/1 "2012-11-23T13:07:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:03am UTC](https://discuss.elastic.co/t/facet-like-solr/9804/2 "2017-07-06T03:03:09Z")

</div>

Closed on July 6, 2017, 3:03am UTC


