Hi Waldemar,
If I understand correctly, a statistical facet will show count, total, sum
of squares, mean (average), minimum, maximum, variance, and standard
deviation.
For a single document these numbers will be very predictable, the count
will be 1, the total, average, minimum, maximum will be just the value for
the field. Variance and standard deviation will mean nothing for just 1
number.
Why would you want this info? Do you have examples of a couple of documents
so we can understand your use case?
Jaap Taal
[ Q42 BV | tel 070 44523 42 | direct 070 44523 65 | http://q42.nl |
Waldorpstraat 17F, Den Haag | Vijzelstraat 72 unit 4.23, Amsterdam | KvK
30164662 ]
On Tue, Mar 26, 2013 at 11:02 AM, waldemar@pureholidayhomes.com wrote:
Hi to All,
Is it possible to get statistical facet for every document separately in
one query?
For example, if I get 10 results (10 documents) then I also want to have
calculated statistical facet for every document separately and returned all
together (in one query).
And if so, please provide me an example.
Thanks in advance.
Thanks you all,
Waldemar
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.