Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
So if pure sorting on nest fields is a no-go, is it possible to do some kind of
boosting or custom_score based of the value (or boost) for the nest fields?
//Patrik J
16 dec 2011 kl. 16.47 skrev Shay Banon:
You can't sort on nest fields, moreover, since they are multi valued, even if they were in the "root" object, you can't sort on them.
Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
You can, but "within" the nested query per nested element, but check if its
fast enough for you.
On Mon, Dec 19, 2011 at 10:16 AM, Patrik Johansson <
patrik.j.johansson@kentor.se> wrote:
Thanks for the reply!
So if pure sorting on nest fields is a no-go, is it possible to do some
kind of
boosting or custom_score based of the value (or boost) for the nest fields?
//Patrik J
16 dec 2011 kl. 16.47 skrev Shay Banon:
You can't sort on nest fields, moreover, since they are multi valued, even
if they were in the "root" object, you can't sort on them.
On Fri, Dec 16, 2011 at 12:13 AM, Patrik Johansson <
patrik.j.johansson@kentor.se> wrote:
Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
Now I'm trying to sort after on one the fields in the nested object
but having problems how to solve this problem.
So, how would you guys try to sort based on value of "count" in the
example above?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.