I have specified "sorting" when querying my documents. But when some
documents share the same "sorting value", then what is the sorting
order?
I expect it is the "id" field of es document as if I used lucene
natively in the past, but it is not for es result. Or do I need to
specify the "default" sorting as "id" field explicitly every time I do
querying?
There is no additional order defined, unless you specify an additional
field to sort by.
On Mon, Jun 4, 2012 at 11:51 AM, Yiu Wing TSANG ywtsang@gmail.com wrote:
I have specified "sorting" when querying my documents. But when some
documents share the same "sorting value", then what is the sorting
order?
I expect it is the "id" field of es document as if I used lucene
natively in the past, but it is not for es result. Or do I need to
specify the "default" sorting as "id" field explicitly every time I do
querying?
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.