Skip to content

Compute the BM25 score of a new document #1131

Answered by lintool
wuchen95 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @wuchen95 - currently, the feature of incremental indexing from Lucene is not exposed in Pyserini, so to compute the BM25 score of a new document, you'll have to compute it yourself from the component tf/df and other stats.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wuchen95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1125 on May 01, 2022 12:31.