ISearchResult
Interface
Results from an item or group search.
Type parameters
Properties
Property | Type | Notes |
---|---|---|
{ counts: { fieldName: string; fieldValues: { count: number; value: any }[] }[] } | Aggregations will only be present on item searches when | |
number | ||
number | ||
string | ||
T[] | ||
number | ||
number |
aggregations optional
nextStart
nextStart: number
num
num: number
query
query: string
results
results: T[]
start
start: number
total
total: number
Methods
Method | Returns |
---|---|
| Promise<ISearchResult<T>> |
aggregations: { counts: { fieldName: string; fieldValues: { count: number; value: any }[] }[] }
Aggregations will only be present on item searches when
fieldCounts
are requested.