diff --git a/src/5.x/indexer.md b/src/5.x/indexer.md index 3f1e4ed..340691c 100644 --- a/src/5.x/indexer.md +++ b/src/5.x/indexer.md @@ -14,6 +14,10 @@ To do a full (re)index run this command from your terminal: php artisan rapidez:index ``` +::: warning +The default chunk size for indexing is 500 products. If you have a lot of attributes and/or children on your products, you may run into out-of-memory issues during indexing. You can change the chunk size in the scout configuration file `config/scout.php`. It is **not** recommended to set this to very low number---if you're having memory issues, a chunk size of 100 should usually suffice. +::: + This will reindex everything for all stores. With the `--store` and `--types` options you can be more specific, see: `php artisan rapidez:index --help`. Alternatively there is also: ```bash