Execute item search against the Hub API


Parameter Type Default Notes
filters Required Array<IFilterGroup<"item">>
options Required IHubSearchOptions


Property Type Notes
hasNext boolean

Can more results be fetched?

next function(params: any) : Promise<IHubSearchResponse<>>

Function that fetches the next page of results

results []

Array if results

total number

Total number of matches for the query

aggregations Optional IHubAggregation[]

Array of requested aggregations

facets Optional IFacet[]

DEPRECATED - hub.js no longer computes facets; consumers need to construct them from aggregations

Function defined in common/src/search/_internal/hubSearchItems.ts:35