Class CategorySuggestions

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

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

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

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

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

getSearchPhraseSuggestions, getSuggestedPhrases, getSuggestedTerms, hasSuggestedPhrases, hasSuggestedTerms, hasSuggestions

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

suggestedCategories: Iterator (read-only)

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

See Also:


getSuggestedCategories(): Iterator

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

Returns:

  • a iterator containing a SuggestedCategory instance for each found category, the iterator might be empty

See Also: