searchAssociatedContent

Function

Searches for content that is associated with a given entity. Current associations supported are "related" and "connected".

If unspecified, the number of results returned is 4.

NOTE: only item based entities are supported for now.

Parameters

Parameter Type Default Notes
opts Required ISearchAssociatedContentOptions

Returns

Search results for the associated content

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

executedQuerySize Optional Kilobyte

The length of the query string that was just executed in the search, measured in kilobytes

messages Optional IMessage[]

Array of messages / warnings


Function defined in common/src/search/searchAssociatedContent.ts:26