agoSearch

Function

Search for Items in ArcGIS, compute facets and format the response into V3 like datasets

Parameters

Parameter Type Default Notes
params Required ISearchParams

(query params from hub indexer)

token Optional string
portal Optional string
authentication Optional UserSession

Returns

Promise<IHubResults>
Property Type Notes
data Optional IHubResult[]
meta Optional {
page:
{
nextStart:
number
size:
number
start:
number
}
queryParameters:
{
agg:
any
filter:
any
} [key: string]: any
stats:
{
aggs:
any
count:
number
totalCount:
number
} [key: string]: any
}

Function defined in search/src/ago/search.ts:18