I need to compare the relevance of search results for various Lucene queries.
In fact, I have an indexed set of text documents, and when the search is performed in this set, I want to return not the best results from this set, but all the results that match the query "good enough".
This "good enough" option will be tuned (say, between 0 (the document is completely irrelevant) and 1 (the document is the best match)), but I want it to affect all requests in the same way.
From what I found on the Internet, this is not an easy task. Can someone give me a hint on how to approach this problem?
Thanks a lot!
source share