@coveo/headless-react
    Preparing search index...

    Interface RankingInformation

    interface RankingInformation {
        documentWeights: DocumentWeights | null;
        qreWeights: QueryRankingExpressionWeights[];
        termsWeight: TermWeightReport | null;
        totalWeight: number | null;
    }
    Index

    Properties

    documentWeights: DocumentWeights | null

    The attributes of the document that contributed to its ranking.

    The weights applied by query ranking expressions.

    termsWeight: TermWeightReport | null

    The weight attributed to each term in the query.

    totalWeight: number | null

    The sum of all weights.