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
Copy file name to clipboardexpand all lines: ARCHITECTURE.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ The token positions of all of the terms are then stored in a separate file with
254
254
The [TermInfo](src/postings/term_info.rs) gives an offset (expressed in position this time) in this file. As we iterate through the docset,
255
255
we advance the position reader by the number of term frequencies of the current document.
256
256
257
-
## [fieldnorms/](src/fieldnorms): Here is my doc, how many tokens in this field?
257
+
## [fieldnorm/](src/fieldnorm): Here is my doc, how many tokens in this field?
258
258
259
259
The [BM25](https://en.wikipedia.org/wiki/Okapi_BM25) formula also requires to know the number of tokens stored in a specific field for a given document. We store this information on one byte per document in the fieldnorm.
260
260
The fieldnorm is therefore compressed. Values up to 40 are encoded unchanged.
0 commit comments