Class ContentSuggestions

The content suggestion container provides access to content pages found using the suggested terms as search criteria. The method getSuggestedContent() can be used to get the list of found content pages.

Furthermore the list of suggested terms, after processing the original user input search query, is accessible through SearchPhraseSuggestions.getSuggestedTerms() method.

Property Summary 

PropertyDescription
suggestedContent: Iterator (read-only)This method returns a list of content pages which were found using the suggested terms as search criteria.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getSuggestedContent()This method returns a list of content pages which were found using the suggested terms as search criteria.

Methods inherited from class Suggestions 

getSearchPhraseSuggestions, getSuggestedPhrases, getSuggestedTerms, hasSuggestedPhrases, hasSuggestedTerms, hasSuggestions

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

suggestedContent 

suggestedContent: Iterator (read-only)

This method returns a list of content pages which were found using the suggested terms as search criteria. The content lookup is being executed in the current library and locale.

See Also:


Method Details 

getSuggestedContent() 

getSuggestedContent(): Iterator

This method returns a list of content pages which were found using the suggested terms as search criteria. The content lookup is being executed in the current library and locale.

Returns:

  • a iterator containing a SuggestedContent instance for each found content, the iterator might be empty

See Also:


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!