Interface JSimpleSearchResultHit

interface JSimpleSearchResultHit {
    _id: JId;
    _index: string;
    _score: number;
    _source: {
        [attributeName: string]: any;
    };
    highlight?: {
        [attributeName: string]: string[];
    };
}

Properties

_id: JId
_index: string
_score: number
_source: {
    [attributeName: string]: any;
}

Type declaration

  • [attributeName: string]: any
highlight?: {
    [attributeName: string]: string[];
}

Type declaration

  • [attributeName: string]: string[]