Why is it a problem? If you have multiple values for a field (which is what
nested docs are usually used for), then you can't really sort on that
field...
On Tue, Nov 8, 2011 at 6:46 AM, Carl Sharma carl@izap.in wrote:
Hmmm, Is there any other solution for this kind of problem ?
But the result is the "root" document, so based on what will it sort? We
can come up with saying something like the "highest" or "lowest" value of
all available values within the nested docs, but its not supported.
Now I would like to implement use case to "search for the closest items". I
think being able to support such sorting will greatly improve the
flexibility. Does that make sense? Are there any future plans for this kind
of feature?
On Sunday, November 13, 2011 8:06:22 AM UTC+1, kimchy wrote:
But the result is the "root" document, so based on what will it sort? We
can come up with saying something like the "highest" or "lowest" value of
all available values within the nested docs, but its not supported.
On Thu, Nov 10, 2011 at 12:38 PM, Narinder Kaur <narind...@izap.in<javascript:>
wrote:
But In my case, It is unique against an unique array key
Now I would like to implement use case to "search for the closest items". I think being able to support such sorting will greatly improve the flexibility. Does that make sense? Are there any future plans for this kind of feature?
On Sunday, November 13, 2011 8:06:22 AM UTC+1, kimchy wrote:
But the result is the "root" document, so based on what will it sort? We can come up with saying something like the "highest" or "lowest" value of all available values within the nested docs, but its not supported.
On Thu, Nov 10, 2011 at 12:38 PM, Narinder Kaur narind...@izap.in wrote:
But In my case, It is unique against an unique array key
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.