This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.

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