pexels-photo-374559

How to increase the number of search suggestions in expertrec custom search

Rate this article

Share this article
Share on facebook
Share on twitter
Share on linkedin
Share on email

In this article we will see how to increase the search suggestions in expertrec custom search engine. This can be established with the help of a pre hook script in your control panel .

What is a pre-hook script ?

A pre-script hook is a piece of code that runs before the search is loaded.

With the help of a pre hook script we can tell the search engine to load any number of specified search results in the suggestions.

To increase the number of search results follow the below steps.

  1. Go to https://cse.expertrec.com/?platform=cse and make sure you have  created your search engine.pre-script hook
  2. Go to script hooks-> prescript hooks and enter the following piece of code.pre script hook
  3. You can replace the number 10 to the number of results you want in the suggestions.
  4. Now reload your search page and you will be able to see 10 results in the autocomplete.pre-script hook

 

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published.

Hold on!
We’ve gathered our industry knowledge and are sharing hacks, tips to increase e-commerce revenue. Contains best tips for scaling up your ecommerce business.