Gravatar for

Question by paul_sheridan, Dec 30, 2016 12:47 PM

hold off on query suggestion until 2 or more characters are entered?

Is it possible to configure the CoveoAnalyticsSuggestions or CoveoFieldSuggestions components such that query suggestions are not made until the user has entered 2 (or more) characters?

1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Jan 2, 2017 11:04 AM

Hi Paul,

The Coveo JavaScript Search Framework components for AnalyticsSuggestions and FieldSuggestions do not seem to have options for that.

It might be possible by creating components that inherits those to introduce the feature. However, since the framework is open source, it would be better to implement the feature directly in the components and send a pull request.

Ask a question