Interface SearchResult

Represents the result of a search query.

interface SearchResult {
    hits: SearchHit[];
    limit: number;
    offset: number;
    total_hits: number;
}

Properties

hits: SearchHit[]

The list of results

limit: number

The number of results that were returned by the query

offset: number

The number of results that were skipped by the query

total_hits: number

The total number of results that match the query