Lucene boost products in (not in) category

Hi,

When searching for example a brand name, i get unrelevant results first. All these unrelevant results are only accessories to the “real” products and these accessories is in their own category with subcategories.
The problem is that they belong to the same brand, which i guess is why they get first in the result.

I want the “real” products to get highest in the result.
Is it possible to boost all other categories except this accessories category(and all its subcategories)?
Or maybe do the reverse, negative boost it?

Litium version: 7.4.3

Maybe you could add an IIndexingProviderPreProcessor that would lower the document boost at index time if the product is from a particular category/has a distinguishing property to determine if it’s an accessory? The default boost value is 1, so you could set it to 0.5f or something.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.