I wanted to know if there is a way to find out if the first result in the solr answer is an exact match of my query? for example, I'm looking for documents with the words: "iphone 6s 64GB gold"
I have 3 results:
1) The first result with the words " iphone 6s 64GB " with the score: 187.86491
2) The second result with the words " iphone 6s " with the score: 170.36568
3) The third result with the word " iphone " with the score: 136.68152
When I normalize the ratings, I got these new ratings:
1) score 1.0 2) score 0.92 3) score 0.66
the problem is that the first result got a score of 1.0 (just because it is the first result with a higher solr score, but it cannot confirm that it is an exact match), whereas, in my opinion, it should be ~ 0, 5 because it is not an exact match. I want to know if the results that I have are relevant or not, and take only the “most relevant” results - for example: only results with a score> 0.6. But I can’t do it now, because 0.6 does not indicate real relevance.
source share