This works fine. I get the documents and can search, sort and use aggregations like I want.
But is there a way to aggregate, filter and sort those documents based on the time_added or condition attributes in the collection document? Say I wanted to sort based on time_added or filter for condition=="good"?
The order I expect is 1,3,4 (which is the order in the collection) but i get them in 4,1,3 (and in fact changing the order from desc to asc does not change the order). Am I missing something?
c.c. @polyfractal as you had an answer on the linked thread (I hope tagging like this is acceptable, quite a n00b to this forum).
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.