Developer forum

Forum » Development » Add new filter parameter to IndexBilder

Add new filter parameter to IndexBilder

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Is there any way I can add an additional parameter to the IndexBuilder?

I want to be able to filter out some products from the index based on a property of the product.

Thank you,
Adrian


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Can you said ProductExcludeFromIndex with some custom SQL as discussed here: https://doc.dynamicweb.com/forum/development/development/extending-the-parameters-of-the-index-build (looks like you had slightly different requirements back then)

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Imar,

Thank you very much for the reminder :)

I do remember I have asked the question before.

However, now the need is slightly different as I need to separate the products into multiple indexes, making them available for PIM queries.

But the suggestion may still help.

Thank you,
Adrian

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You can use shops.

Is it 9 or 10?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

I know I can use shops but they are not separated.

It is still DW9.


Adrian

 

You must be logged in to post in the forum