This class encapsulates a random access file and provides
the functionalities to write highly compressed data structures, eg binary encoded, unary encoded and gamma encoded
integers greater than zero, as well as specifying their offset in the file.
This class merges two sets of data structures (ie direct index,
inverted index, document index, lexicon and statistics), created by
Terrier with position information (blocks) and possibly field
information, into one set of data structures.
This class implements the BM weighting model, which generates the original
weight given by the BM25 formula, without frequency normalisation and query
term weighting.
BM() -
Constructor for class uk.ac.gla.terrier.matching.models.basicmodel.BM