Is it possible to stop indexing products that are published, but not actually reachable on the site?
Let’s say we have a product that is published on all channels, but it’s main category is a category that is not published or is missing an url. This product is still indexed, but not included in the result when transforming the search hits.
If we have 16 products per page, and one of those first 16 products is a “bad” product, we only get 15 products. If you remove the product from the unpublished category it works as expected.
I tried to do this in ProductIndexDocumentBuilder, but couldn’t figure out how.
Litium version: 7.6.2