TfIdf Enumeration

Determines the calculation method Sphinx uses for the tf–idf (term frequency–inverse document frequency).

Definition

Namespace: SphinxConnector.Common
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public enum TfIdf

Remarks

Supported with Sphinx 2.2.1 and up.

Members

Normalized0 Additionally divide IDF by query word count, so that tf*idf fits into [0, 1] range.
Unnormalized1 Do not additionally divide idf by query word count.

See Also