Hi the list!
Some days ago, i started to work on ES, and grouping function. Today i have
something which work, thx to Martijn and his experimental grouping code.
I adapt Martijn code to the 0.19.4 version (thx also to lusini.de).
Based on that code, i added more facets to manage grouping (for now
date_histogram, histogram in normal mode (i.e. without script ou key/value
or bound), and range). And it works. I will add more facets soon, as my
company want to use more of them.
After that, i worked on a version which will not be tied to 1 shard. First
i tried a full global grouping. I have a branch with that, and it works.
But it's a nightmare to have valid facets. So i won't work on this feature
for some times.
My second great adventure was to test my patched martijn's code on multiple
shards, with all items to group in the same shard (i use the parent/child
functionnality to achieve this goal). The grouping works, and facets are
good too. But i had a problem as soon as i want the result to be sorted.
So my question is :
Is a developper in the group, who can explain me how i can Merge and sort
docs from all shards ? It's the last problem which can prevent me using ES
Thx in advance!
P.S.: If Some of you want it, i can share my code which add grouping to
Range, Histogram and DateHistogram facets.