FP-Devicer - v1.6.1
    Preparing search index...

    Function registerWeight

    • Register (or override) the importance weight for a field or nested path.

      Higher weights give a field more influence on the final confidence score. Weights are normalised internally, so only relative magnitudes matter.

      Parameters

      • path: string

        Dot-notation field path.

      • weight: number

        A non-negative number representing relative importance.

      Returns void

      If weight is not a non-negative number.