Type Alias RankingScoreDetails

RankingScoreDetails: {
    attribute?: {
        attributes_query_word_order: number;
        attributes_ranking_order: number;
        order: number;
        score: number;
    };
    exactness?: { matchType: string; order: number; score: number };
    proximity?: { order: number; score: number };
    typo?: {
        maxTypoCount: number;
        order: number;
        score: number;
        typoCount: number;
    };
    words?: {
        matchingWords: number;
        maxMatchingWords: number;
        order: number;
        score: number;
    };
    [key: string]: undefined
    | Record<string, any>;
}

Type declaration

  • [key: string]: undefined | Record<string, any>
  • Optionalattribute?: {
        attributes_query_word_order: number;
        attributes_ranking_order: number;
        order: number;
        score: number;
    }
  • Optionalexactness?: { matchType: string; order: number; score: number }
  • Optionalproximity?: { order: number; score: number }
  • Optionaltypo?: { maxTypoCount: number; order: number; score: number; typoCount: number }
  • Optionalwords?: {
        matchingWords: number;
        maxMatchingWords: number;
        order: number;
        score: number;
    }