ISearchResult

Interface

Results from an item or group search.

Properties

Property Type Notes
nextStart number
num number
query string
results IItem[] | IGroup[] | IUser[] | IItem | IGroup | IUser
start number
total number
aggregations Optional {
counts:
Array<{
fieldName:
string
fieldValues:
Array<{
count:
number
value:
any
}>
}>
}

Aggregations will only be present on item searches when fieldCounts are requested.

nextPage Optional function() : Promise<ISearchResult<IItem | IGroup | IUser>>

Interface defined in packages/arcgis-rest-portal/src/util/search.ts:27