Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable / Disable indexing of child products in indices #3473

Open
jakwinkler opened this issue Dec 17, 2024 · 0 comments
Open

Enable / Disable indexing of child products in indices #3473

jakwinkler opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@jakwinkler
Copy link

In the current version of ElasticSuite, all child products are added to Indices data.
I believe it is done here:

vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/Product/Indexer/Fulltext/Datasource/AttributeData.php

in this section

$relationsByChildId = $this->resourceModel->loadChildrens($productIds, $storeId);

I've created a randomized catalog using my module:
https://github.com/qoliber/m2-catalog-generator

I've created 50 configurable product with 5 attributes, 5 options each, generating 3125 child options for configurable product.
Basically creating ~160k simple products.

With this number of options for products, CatalogSearch Index time is increasing with each configurable product, drastically.

Catalog Search index has been rebuilt successfully in 00:53:01

I understand why child products are indexed, but if they are not visible, they should be skipped form indexing.

But my general questions is: should be be indexed if they prolong the indexing process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant