Gravatar for shirazi@rdacorp.com

Question by aga, Mar 21, 2016 8:38 AM

Limit suggested results

Hi

I have a standalone search box and I'm following the directions in this link for the omni box results to work.

My question is, how do i limit the number of results for the Suggested Results?

NOTE: I'm not using TopFieldSuggestions. I'm just using the detail suggestions.

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Mar 21, 2016 9:11 AM

It is all in the JS Search V0.9 documentation: https://developers.coveo.com/display/public/JsSearch/Components.

For example, when using the TopFieldSuggestion component : https://developers.coveo.com/display/public/JsSearch/TopFieldSuggestions+Component, you can use the "numberOfSuggestions" parameter.

Gravatar for shirazi@rdacorp.com

Comment by aga, Mar 21, 2016 11:29 AM

im not using top fields

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Mar 21, 2016 11:34 AM

Then which component are you using? It would be easier to help you if you told us which component you use.

Gravatar for shirazi@rdacorp.com

Comment by aga, Mar 21, 2016 12:44 PM

all i have is a search box with the omnibox results provider.

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Mar 21, 2016 1:20 PM

Do you mean the omnibox result list? https://developers.coveo.com/display/public/SitecoreV3/Omnibox+Result+List+Component+Properties

Gravatar for shirazi@rdacorp.com

Comment by aga, Mar 21, 2016 2:08 PM

thats correct

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Mar 21, 2016 2:51 PM

The property you are looking for is fronted on the component.

Ask a question