Gravatar for saibalini.ray0@gmail.com

Question by saibalini, Feb 6, 2019 5:51 AM

How to activate Query Correction feature in coveo?

I know query correction feature is a default functionality of coveo. But how ever it is not activated on the site I am working. Could anyone please suggest that which configuration should change to achieve this?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Feb 6, 2019 10:20 AM

It would help a lot to know which Coveo product are you using? Coveo for Sitecore, Coveo for Salesforce...? We would also need the complete version of this product. Lastly, are you looking for query corrections as suggestions as you type in the search box or after the query is sent in the form of a "did you mean" or auto-correction of the search terms?

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Feb 7, 2019 2:04 PM

In Coveo for Sitecore 4.0 legacy UI framework, the "did you mean" feature is enabled by checking the "Display Did You Mean" option in the "Coveo Search Interface" rendering properties (or data source item, if any). It is check by default.

https://docs.coveo.com/en/586/coveo-for-sitecore-v4/coveo-for-sitecore-legacy-search-ui-framework---search-component-properties

The feature is based on the terms that are free-text searchable in the Coveo index. You might have a limited number of free-text searchable terms if:

  • You are not indexing Sitecore page items HTML version (all indexed documents would be of type "sitecoreitem" instead of "html)
  • Or you did not configure some Sitecore fields to be free-text searchable (only needed if you do not index page items HTML version)

The feature works when a user makes small typos in the searched keywords that lead to very few or no results. If the index contains a similar term that is contained in multiple documents, the did you mean feature will suggest a query with the suggested term.

Gravatar for saibalini.ray0@gmail.com

Comment by saibalini, Feb 25, 2019 9:06 AM

Hi Jean,

I am not able to see "displayDidYouMean" option in my search interface. Actually the search interface we are using is the customized one. We have customized "Coveo Search Interface". Could you please suggest how can I enable this rendering option? In which template can I find this parameter?

Regards,

Saibalini

Gravatar for saibalini.ray0@gmail.com

Comment by saibalini, Feb 27, 2019 9:00 AM

Hi @Jean-François L'Heureux & @François Lachance-Guillemette,

Thanks for the response. It worked.

Cheers,

Sai

Ask a question