Interface JSimpleSearchResult

interface JSimpleSearchResult {
    hits: {
        hits: JSimpleSearchResultHit[];
        maxScore: number;
        total: {
            relation: string;
            value: number;
        };
    };
    shards: {
        failed: number;
        skipped: number;
        successful: number;
        total: number;
    };
    timedOut: boolean;
    took: number;
}

Properties

hits: {
    hits: JSimpleSearchResultHit[];
    maxScore: number;
    total: {
        relation: string;
        value: number;
    };
}

Type declaration

  • hits: JSimpleSearchResultHit[]
  • maxScore: number
  • total: {
        relation: string;
        value: number;
    }
    • relation: string
    • value: number
shards: {
    failed: number;
    skipped: number;
    successful: number;
    total: number;
}

Type declaration

  • failed: number
  • skipped: number
  • successful: number
  • total: number
timedOut: boolean
took: number