Hi Martin,
Thanks very much for your help.
The final product will be indexing new documents at the same time as
querying, but thus far for my performance trials I am performing
queries/aggs only. I assume therefore that enabling eager global ordinals
would not help with the performance issues I
Are you also adding/modifying documents while searching with has_parent or
has_child query?
In that it makes sense to enable global ordinals loading on the _parent
field:
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/parent-child-performance.html#_global_ordinals_and_latency
Further investigation shows that anything that makes use of _parent seems
to result in slow queries, be it has_parent, has_child or the 'children'
aggregation.
I should mention that I am using 1.4.4 - is this to be expected even with
the performance improvements made in recent releases?
On Mon,
Hello,
I am writing an analytics application that makes heavy use of aggregations.
My situation seems suited to parent/child. I have relatively few parents
(hundreds) and a lot more children (tens of millions).
The has_parent query or filter provide an elegant way to perform the sort
of queries