Class TFValueSource


public class TFValueSource extends TermFreqValueSource
Function that returns TFIDFSimilarity.tf(float) for every document.

Note that the configured Similarity for the field must be a subclass of TFIDFSimilarity

NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.