Hi,

As you can see, on the other hand, aggregations give counts for "4", "5",
"6", "long" and "name" while facets don't. This is due to term selection:
by default aggregations only return the top 10 terms (configurable through
the `size` parameter) and those top terms are sorted by count desc, then
term asc. This is the reason why you didn't get "thing" or "thingy" that
would have been at positions higher than 10. If you want  to get counts for
more tags, you could consider increasing the size of your terms aggregation.


On Sat, Mar 8, 2014 at 3:26 PM, Marek Obuchowicz <
marek.obuchow...@project-a.com> wrote:

> Hi,
>
> I've been using aggregations (terms) instead of facets as I used to do
> before (Elasticsearch 1.01 on OS-X).
> After working perfectly fine for a while, I found out that I stopped
> getting new data in the aggregated queries. The unaggregated results look
> fine, data is fresh. Have tried _refresh and restarting elasticsearch
> (single shard, no replicas) as well, didn't help.
>
> The results can be seen on this gist:
> https://gist.github.com/marek-obuchowicz/9431175
>
> As you can see, the aggregation doesn't show, for example, tags "thing" or
> "thingy", while facets do.
>
> Any tips? Or, "just keep using facets"? :)
>
> Best regards,
>   Marek Obuchowicz
>
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/0a455cdd-e307-48af-b927-79839430a490%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/0a455cdd-e307-48af-b927-79839430a490%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Adrien Grand

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4g1Nuv4E6QkynCopOe3HyaEAaG-C1PqpAKNAhpnbawYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to