Class NormValueSource


  • public class NormValueSource
    extends ValueSource
    Function that returns the decoded norm for every document.

    Note that the configured Similarity for the field must be a subclass of TFIDFSimilarity and the contribution of the TF needs to be 1 when the freq is 1 and the contribution of the IDF needs to be 1 when docFreq == docCount == 1.

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