searchCatalogs

Function

Given an array of catalog json objects, execute a search on all the collections in all the catalogs. If a scope exists without any associated collections in the catalog, the scope will be searched as well. If passed an IQuery, only collections using the same targetEntity will be searched If passed a string, a query will be executed on all collections in all catalogs

Parameters

Parameter Type Default Notes
catalogs Required IHubCatalog[]
query Required string | IQuery

string or IQuery

options Required

IPagingOptions & ISortOptions - only num is used

context Required IArcGISContext

Returns


Function defined in common/src/search/searchCatalogs.ts:25