Hi all,
I don't know if anyone has the same problem with me.
I do a search using transport client and called addSort like this:
addSort("FILE_OFFSET", SortOrder.DESC)
I have three records in elasticsearch server with "FILE_OFFSET" - 340,
760, 1100.
It seems that each time I search the result, I can only find the
result with 760 as FILE_OFFSET.
Can anyone here help me with this issue?
Hi all,
I found that the search order is based on string.
But I want to set the search order based on long value.
Can anyone here tell me how to set the search order based on long
value instead of string value?
I'm using Java API.
Hi all,
I don't know if anyone has the same problem with me.
I do a search using transport client and called addSort like this:
addSort("FILE_OFFSET", SortOrder.DESC)
I have three records in elasticsearch server with "FILE_OFFSET" - 340,
760, 1100.
It seems that each time I search the result, I can only find the
result with 760 as FILE_OFFSET.
Can anyone here help me with this issue?
Hi all,
I found that the search order is based on string.
But I want to set the search order based on long value.
Can anyone here tell me how to set the search order based on long
value instead of string value?
I'm using Java API.
Hi all,
I don't know if anyone has the same problem with me.
I do a search using transport client and called addSort like this:
addSort("FILE_OFFSET", SortOrder.DESC)
I have three records in elasticsearch server with "FILE_OFFSET" - 340,
760, 1100.
It seems that each time I search the result, I can only find the
result with 760 as FILE_OFFSET.
Can anyone here help me with this issue?
Hi all,
I found that the search order is based on string.
But I want to set the search order based on long value.
Can anyone here tell me how to set the search order based on long
value instead of string value?
I'm using Java API.
Hi all,
I don't know if anyone has the same problem with me.
I do a search using transport client and called addSort like this:
addSort("FILE_OFFSET", SortOrder.DESC) I have three records in
elasticsearch server with "FILE_OFFSET" - 340, 760, 1100.
It seems that each time I search the result, I can only find the
result with 760 as FILE_OFFSET.
Can anyone here help me with this issue?
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.