Click or drag to resize

Idf Enumeration

Determines the calculation method Sphinx uses for the idf (Inverse Document Frequency).

Namespace:  SphinxConnector.Common
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public enum Idf
Members
  Member nameValueDescription
Normalized0 BM25 variant, idf = log((N-n+1)/n), as per Robertson et al where N is the collection size and n is the number of matched documents.
Plain1 Plain variant, idf=log(N/n), as per Sparck-Jones where N is the collection size and n is the number of matched documents.
Remarks
Supported with Sphinx 2.1.1 and up.
See Also