Get scores for specific documents in index #113
Unanswered
kswhitecross
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
you can use Line 543 in bff5ad3 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way I can get the BM25 scores for a chosen subset of documents in the index?
For example, if I have a query$q$ , and I want to get the scores of 1000 arbitrary documents $d_1, ..., d_{1000}$ , from an index of 10 million documents. I know I can just retrieve all 10M documents, and look at the scores of the 1000 I care about, but this would be relatively inefficient. I can also just build an index of the 1000 documents I care about, but the scores from this index will be inaccurate, as the IDF scores will not reflect all 10M documents.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions