@coveo/headless
    Preparing search index...

    Interface RankingInformation

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

    Properties

    documentWeights: null | DocumentWeights

    The attributes of the document that contributed to its ranking.

    The weights applied by query ranking expressions.

    termsWeight: null | TermWeightReport

    The weight attributed to each term in the query.

    totalWeight: null | number

    The sum of all weights.