Developer forum

Forum » Ecommerce - Standard features » Are there further setup on "suggestion" search ?

Are there further setup on "suggestion" search ?

Rasmus Fjord
Reply
Hey

We just finished up a solution(www.vestfrostsolutions.com) and ive setup "suggestion" on the search field, but its not working that well.

Try searching "steel", that works as it should. But there is a whole product category that is not being exposed to it.

The category is not hidden or anything it is being shown as any other on the site.

So my question is, is there somewhere where i can setup which product fields it should look into ?

Ive tried rebuilding the index a few times.

ive setup my Ecom product catalog module(where the search is added) to use every product group.

This is my javasscript used in the ecom search template: 

  Dynamicweb.Frontend.Document.Current.ready(function () {

        // Initial setup (configuring global variables)
        Dynamicweb.Frontend.InstantSearch.setup({
            pageID: 64,                // An ID of the target page
            paragraphID: 257,      // An ID of the target paragraph (with "eCom_Catalog" module attached)
            url: '/Admin/Public/eCom/InstantSearch.ashx',       // Custom handler (for reducing interaction time)
            delay: 250                                          // Number of milliseconds to wait before performing any calls to the server
        });

        // 1. Enabling suggested queries to be displayed when user types anything in the above textbox.
        Dynamicweb.Frontend.InstantSearch.setEnableSuggestions('searchinput', true, {
            boxID: 'suggestions'                             // An ID of the suggestions box template
        });

    });

Replies

 
Pavel Volgarev
Reply
Hi Rasmus,

The number of query suggestions is limited by only top five results. This is by design. I guess that the products from your category simply doesn't fall into this range.

-- Pavel
 
Rasmus Fjord
Reply
Hey Pavel 

Thx for your answer, but I think you misunderstood me (i've properbly not my self clear enough :) ).

The thing is if you write "steel" results are givin' , but if you wrote "VT" it gives no suggestions, but all the products under biomedical has VT in their name, and descriptions. And if you actually search for VT there is a TON of results. 

 

You must be logged in to post in the forum