Return the default Similarity implementation used by indexing and search code.
This is initially an
Computes a score factor for a simple term.The default implementation is:
Computes a score factor based on a term or phrase's frequency in a document.
This value is multiplie
Decodes a normalization factor stored in an index.
Encodes a normalization factor for storage in an index.The encoding uses a
three-bit mantissa, a fiv
Computes the amount of a sloppy phrase match, based on an edit distance. This
value is summed for ea
Computes a score factor based on the fraction of all query terms that a document
contains. This valu
Returns a table for decoding normalization bytes.
Computes the normalization value for a query given the sum of the squared
weights of each of the que
Calculate a scoring factor based on the data in the payload. Overriding
implementations are responsi