searchContentEntities
Generic search that returns Hub Entity types converted from items
by the passed in ItemToEntityFunction
This abstraction is used to ensure that searching from any of the
entity managers / modules is consistent, and returns the entity
types, instead of IItem
or IHubContent
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
filter Required | Filter<"content"> | ||
convertFn Required | ItemToEntityFunction<> | ||
options Required | IHubSearchOptions |
Returns
Property | Type | Notes |
---|---|---|
boolean | ||
function(params: any) : Promise<ISearchResponse<>> | ||
[] | ||
number | ||
Optional | IFacet[] |
Function defined in common/src/search/_internal/searchContentEntities.ts:35