Foros de discusión

How to retrieve the value of _score field of a Document?

thumbnail
Abhishek Jain, modificado hace 6 años.

How to retrieve the value of _score field of a Document?

Regular Member Mensajes: 226 Fecha de incorporación: 20/08/16 Mensajes recientes
I want to get the value of _score field of an individual document in liferay 7/DXP. I searched but all I get is the getScores() method of Hits class which returns an array of scores. How to find to which document the score is associated with? Or in other words, how to get score of each document individually? Please tell if anyone knows the answer..thanks in advance..