Aggregation query took too long

12 views
Skip to first unread message

Nikolay Nikolov

unread,
Sep 25, 2016, 2:53:02 PM9/25/16
to Elastica - Elasticsearch PHP Client
Hi, I am querying an index of 200k rows. I need to make an aggregation of all this rows by the location, which is an integer field. The query is an match all {} and an agregation of the integer field. Is it possible to make a query to ElasticSearch without an match_all, but only with a filter?

Thanks
Nik

ruflin

unread,
Oct 2, 2016, 3:36:20 PM10/2/16
to Elastica - Elasticsearch PHP Client
Hi Nikolay

Sorry for the later answer. Do you want to have aggregations for "all" 200k rows or only a subset (filter)? Do you currently hit any issue with your aggregations you are trying to solve?

Nikolay Nikolov

unread,
Nov 8, 2016, 12:30:52 PM11/8/16
to elastica-...@googlegroups.com, ruf...@gmail.com
Hi ruflin, thanks for your answer!

I have already fix the problem.

Thanks
Nikolay

--
You received this message because you are subscribed to a topic in the Google Groups "Elastica - Elasticsearch PHP Client" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elastica-php-client/PP1Vw2wnq1I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elastica-php-client+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages