Developer forum

Forum » Development » Index search and content

Index search and content

Mikkel Høst
Reply

Hello.

DW 8.3

I understand that the search weighted can use the index to search content. But right now i use the Search v2 ? to search products in eCommerce. I need a combination of both so we can make a search that searches both content and products. 

What approach should i use for this? Extending the indexer to include content?

Another thing i don't really understand is why we have 2 different search features :)

 


Replies

 
Mikkel Høst
Reply

Anyone?

 
Morten Snedker
Reply

Hi Mikkel,

 

I've been told by someone who knows far more of search than I, that what you try to accomplish is not doable.

Let me know if there is something that you need elaborated.

 

Regards /Snedker

 
Mikkel Høst
Reply

okay, thanks for the feedback. I think you should consider this, a full site search would be something alot of websites could use IMO

 
Nicolai Høeg Pedersen
Reply

Search weighted can search content AND products. Just configure it to do so.

This is a free text search though and cannot be combined with facets/filters.

 

Search weighted search on the database and not the index.

 

BR Nicolai

 
Mikkel Høst
Reply

Hi Nicolai.

So is this not true ?

http://developer.dynamicweb-cms.com/releases/dynamicweb-8-3.aspx

 

  • Search Weighted and items

    Area: Items
    Description: It is now possible to search in page/paragraph item fields with Search weighted. By default the search is performed directly in the database and you only need to enable Search in Pages and paragraphs in paragraph settings in order to search in item fields. (In Management center - System - Search it is possible to enable a Lucene index, which can be used by Search weighted, BUT you need to ensure a stable index scheduling before you enable this for Search weighted. A setting is available in paragraph setup when an index is created).
    Version: 8.3.0.0

Anyway thanks for the answer but we need the filters to work as well. a work around : Make 2 ajax requests, one for InstantSearch.ashx and one for search weighted and then combine the results.. Not pretty but it would work with some JS magic..

 

 

 

 

 
Nicolai Høeg Pedersen
Reply

Yes it is. But it is search weighted and items. Meaning not pages, products etc.

 
Mikkel Høst
Reply

okay i understand. We will hack away then :)

But i would like to suggest this a feature.

 

You must be logged in to post in the forum