@coveo/headless
    Preparing search index...

    Interface DocumentWeights

    interface DocumentWeights {
        Adjacency: number;
        "Collaborative rating": number;
        Custom: number;
        Date: number;
        QRE: number;
        Quality: number;
        "Ranking functions": number;
        Source: number;
        Title: number;
        [key: string]: number;
    }

    Indexable

    • [key: string]: number

      Custom factors affecting the document weight.

    Index

    Properties

    Adjacency: number

    The effect of proximity of query terms in the document. More weight is given to documents having the terms closer together.

    "Collaborative rating": number

    The weight attributed to user ratings.

    Custom: number

    The weight assigned through an indexing pipeline extension (IPE) for the item.

    Date: number

    The weight attributed to the document date.

    QRE: number

    The weight applied by a query ranking expression (QRE).

    Quality: number

    The weight attributed to rank of the document in the documents remaining after filtering indexed items by query terms and user permissions. See item weighting for more information.

    "Ranking functions": number

    The weight applied by a ranking function.

    Source: number

    The effect of the reputation of the document source on the ranking.

    Title: number

    The weight attributed to presence of query terms in the document title.