Builder

class Builder

Properties

Link copied to clipboard

Configuration information for the document fields/attributes that you want to base query suggestions on.

Link copied to clipboard

The identifier of the index you want to get query suggestions from.

Link copied to clipboard

The maximum number of query suggestions you want to show to your users.

Link copied to clipboard

The text of a user's query to generate query suggestions.

Link copied to clipboard

The suggestions type to base query suggestions on. The suggestion types are query history or document fields/attributes. You can set one type or the other.