You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 96a0b49
Browse filesBrowse the repository at this point in the historyBrowse files
Shivam Gupta
committed
[fix](inverted index) Keep no CLucene norms for BM25 statistics
Asking a CLucene segment reader for a field's norms makes it keep them for
the cached searcher's lifetime, uncharged to the searcher cache, and the
merge-on-write statistics visit every segment of the read set, including the
segments the scan prunes and never scores. Read the norms into a buffer of the
statistics' own, one segment at a time, and keep only sums with the searcher:
the field's non-NULL norm lengths, and the hidden rows' lengths for the last
few sets of hidden rows, so queries at one read version read no norms.
Count the hidden rows a term's postings list by walking both ascending lists
together instead of zeroing a bitset as large as the largest hidden row, and
skip terms without postings.
0 commit comments