Skip to content

SearchResult

Defined in: src/models/search-result.ts:21

new SearchResult(rank, context): SearchResult

Defined in: src/models/search-result.ts:53

Construct a new SearchResult

number

where this SearchResult ranks in the results

EventContext

the matching event and its context

SearchResult

readonly context: EventContext

Defined in: src/models/search-result.ts:55

the matching event and its context


readonly rank: number

Defined in: src/models/search-result.ts:54

where this SearchResult ranks in the results

static fromJson(jsonObj, eventMapper): SearchResult

Defined in: src/models/search-result.ts:26

Create a SearchResponse from the response to /search

ISearchResult

EventMapper

SearchResult