And why do you think you need Elasticsearch to find the min or the max in something like [ 1, 2, 3, 10 ]?
I mean that you can handle that on your side (client side) for each doc.
What Elasticsearch can offer you is to compute that values across millions of document. For single doc, I suggest to do it on your side.
Does it help?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 26 mars 2013 à 15:37, waldemar@pureholidayhomes.com a écrit :
And also I have to mention that the price field is an array that contains multiple prices for different conditions.
So I want a min and max from all of conditions for a single document.Thanks,
W.--
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.