UNPKG

dc-management-sdk-js

Version:
32 lines (31 loc) 845 B
import { HalResource } from '../hal/models/HalResource'; export interface SearchIndexStatisticsUsage { averageResponseTime?: SearchIndexStatisticsUsageMetric; numberOfSearches?: SearchIndexStatisticsUsageMetric; } export interface SearchIndexStatisticsUsageMetric { unit?: string; duration?: number; value?: number; } /** * Class representing Statistics for an Algolia Search Index */ export declare class SearchIndexStatistics extends HalResource { /** * Total number of records within an index. */ totalRecords?: number; /** * Total size of records (in bytes). */ totalRecordSize?: number; /** * Average size of an index record (in bytes). */ averageRecordSize?: number; /** * Usage statistics for an index. */ usage?: SearchIndexStatisticsUsage; }