Developer forum

Forum » Feature requests » Correct data in Suggested Search

Correct data in Suggested Search

Martin Nielsen
Reply

Hi DW,

 

We've tried to implement suggested search using /Admin/Public/eCom/InstantSearch.ashx as you do on http://solutionset.dynamicweb.dk/, but we ran into a lot of issues with missing data and weird search logic.

 

So we have a few ideas/requests. Here goes:

 

Ideally we'd like to be able to use the InstantSearch handler to create async product list, (I think paging is already in there), so if the JSON output could contain all the data that is available when doing @DwTemplateTags on a product list that would be great.

Of course this should be implemented as a search type since choosing the type output is a great feature.

 

// Martin


Replies

 
Jesper Holm Damgaard
Reply

+1

 
Esben Kvorning
Reply

+1

 
Kevin Steffer
Reply

+1

 
Nicolai Høeg Pedersen
Reply

@Prices: This is not an easy task. Users could have different currencies, different delivery countries and VAT, Could have customer specific prices, connected to NAV/AX/Other ERP, have discounts, campaigns etc. etc. So the search result would have a problem getting the real prices and still be 'instant'. Basically only the database price is part of the index. We are aware that this would be really nice and we are working hard on the search in general also to accomodate this.

@Custom fields: Yes. We are on it,.

@Wildcard: On the paragraph on which you have your catalog, you can specify the default search field. Let it be the name or the summary which is a combination of lots of fields. Here you can also set "Always perform wildcard searches" which will do just that.

 

Now remember this feature is instant search, and not give me all the catalog with all tags feature.

If you want just a product catalog with all the bells and whistles, just use a product catalog page and return it as Json. You can search, go to groups, show products etc. In 8.4 you can do this even easier - see attached document.

We will draft up an example of how to use this instead of instant search.

Also this is one of the sessions on the Tech Conference, www.dynamciweb.dk/tc14.

BR Nicolai

 
Jesper Holm Damgaard
Reply

Hi N,

@Wildcards:
We use the suggested search and the normal free text index search here:
http://www.avformshop.dk/shop/kvikkoeb

I have checked the "Always perform wildcard searches" but i doesnt seem to make any difference.

Try the words 'kælk' and then 'trækælk'. The result is the same i both site search in the header and the suggested search in the content area. Can you tell me whats is wrong?

Good vibes,
Jesper

 
Nicolai Høeg Pedersen
Reply

Try searching *kælk

 

Is that what you want? It seems like the wildcard search only adds wildcard in the end...

 

BR Nicolai

 
Jesper Holm Damgaard
Reply

Yes please :)

 
Martin Nielsen
Reply

Hi Nicolai,

Did the wildcard change ever make it into the product?

I just tested on 8.5 and i still can't find find "trækælk" when searching for "kælk".

// Martin

 

 
Nicolai Høeg Pedersen
Reply

Hi Martin

Yes it did. On the free text filter, set leading and trailing wildcard checkboxes and on the catalog settings on the paragraph set the "Always perform wildcard searches" checkbox.

Also in MC there is now a boos node you can use for boosting specific fields.

Nicolai

 
Martin Nielsen
Reply

Hi Nicolai,

I just tested this on 8.5.0.1, and suggested search (Instantsearch.ashx) does not use the wildcard settings.

Using the example Jesper gave, "trækælk" is not found when searching for "kælk" via Instantsearch.ashx, it works in normal search.

// Martin