the problem that i have is that response don't contain any field that indicate the rank of the search.
Is this as inteded , so that the rank is the index of the response?
Yes the rank is in order of the response. The rank is also specified in the _rank field. Using RRF, both sets of results are merged into a single result set and ranked accordingly.
One thing to note, we don't provide a score for each result but provide a meta rank field in the response only.
Hi, thank you @joemcelroy, of course using rest Api i see that the response also include the rank,
my problem is when i perform the query with co.elastic.clients library in Java, that the response not include the rank field.
Hope I have explained my problem well,
Thanks,
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.