ISearchResult

Interface

Results from an item or group search.

Properties

Property Type Notes
nextStart number
num number
query string
results IItem[] | IGroup[] | IItem | IGroup
start number
total number
aggregations Optional {
counts:
{
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>>

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