I have retrieved search results from the data, and each time the index of my search result varies.
At one point, the result may appear in the 4th index, while at another time it might be in the 100th index.
How can I retrieve the rank value from within the dataResult?
dataResult:
127: { lastName: "rahul", firstName: "rahul", rank: "3" }
dataResult:
3: { lastName: "rahul", firstName: "rahul", rank: "3" }
dataResult:
4: { lastName: "rahul", firstName: "rahul", rank: "3" }
dataResult:
87: { lastName: "rahul", firstName: "rahul", rank: "3" }