How to read sort by distance value with Java client. This following value.
"sort": [
2.13352991784287
]
How to read sort by distance value with Java client. This following value.
"sort": [
2.13352991784287
]
I am not sure what you are trying to achieve. I assume you want to use SearchHit.getSortValues()
from the SearchResponse
.
Daniel
© 2020. All Rights Reserved - Elasticsearch
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.