Idf Enumeration
Determines the calculation method Sphinx uses for the idf (Inverse Document Frequency).
Definition
Namespace: SphinxConnector.Common
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public enum IdfVB
Public Enumeration IdfRemarks
Supported with Sphinx 2.1.1 and up.
Members
| Normalized | 0 | 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. |
| Plain | 1 | Plain variant, idf=log(N/n), as per Sparck-Jones where N is the collection size and n is the number of matched documents. |