PHPackages                             lucid-modules/module-indexer-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lucid-modules/module-indexer-config

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

lucid-modules/module-indexer-config
===================================

Optimized Magento 2 indexers batch size

41041PHP

Since Oct 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/LucidModules/magento2-indexer-config)[ Packagist](https://packagist.org/packages/lucid-modules/module-indexer-config)[ RSS](/packages/lucid-modules-module-indexer-config/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Module LucidModules\_IndexerConfig
==================================

[](#module-lucidmodules_indexerconfig)

[![Maintainability](https://camo.githubusercontent.com/da4d087127ff909c6e722b44356ce6c0e6ceb33061ff2390c73c24d7e56edecf/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66623236373232353337383334343832623962312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/LucidModules/magento2-indexer-config/maintainability)[![Test Coverage](https://camo.githubusercontent.com/2f4d9972170e61759cd2926e447208f8011e447b46e6280ca3a270130d54cdb0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66623236373232353337383334343832623962312f746573745f636f766572616765)](https://codeclimate.com/github/LucidModules/magento2-indexer-config/test_coverage)

This module shows how to optimize Magento 2 indexer batch size. Use it as a template for your e-commerce and experiment with batch size to match your needs.

Larger batches will consume more server resources, but might be processed faster under specific circumstances.

Usage
-----

[](#usage)

Update batchRowsCount value in the `etc/di.xml` file according to your needs. Here the batch size is set to 1000 for configurable products. This means that one indexer iteration will load up to 1000 products.

```

            1000

```

This module contains only basic product types. Beyond `configurable` there are other product types: `grouped` and `bundle`. Look up similar class names in Magento core di.xml files to discover other indexers batch settings.

For example, in Magento Bundle module, you can find the following config:

```

            Magento\Catalog\Model\Indexer\Price\CompositeProductBatchSizeManagement

            Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\CompositeProductBatchSizeAdjuster

```

Copy desired configuration to your module di.xml. Remember to add dependency on new module in the `etc/module.xml`:

```

```

Installation with Composer
--------------------------

[](#installation-with-composer)

`composer require lucid-modules/module-indexer-config`

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/004d78da9701f0b516a6b2caed48aca8adfdc60dda306e37567c7559598c8011?d=identicon)[lucid-modules](/maintainers/lucid-modules)

---

Top Contributors

[![MTheProgrammer](https://avatars.githubusercontent.com/u/6697660?v=4)](https://github.com/MTheProgrammer "MTheProgrammer (6 commits)")

### Embed Badge

![Health badge](/badges/lucid-modules-module-indexer-config/health.svg)

```
[![Health](https://phpackages.com/badges/lucid-modules-module-indexer-config/health.svg)](https://phpackages.com/packages/lucid-modules-module-indexer-config)
```

###  Alternatives

[kisma/kisma

PHP Utility Belt

178.5k8](/packages/kisma-kisma)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
