searchwp\indexer\batch_size
Seit: 4.0.0
Steuern Sie, wie viele Einträge während jedes Indexierer-Batches indiziert werden.
Parameter
| Typ | Parameter | Standard | Seit |
|---|---|---|---|
| Ganzzahl | $größe |
50 (10, wenn die reduzierte Indexierungsaggressivität aktiviert ist) |
4.0.0 |
Beispiele
All hooks should be added to your custom SearchWP Customizations Plugin.
Indexierungsstapelgröße erhöhen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Increase SearchWP's indexer batch size (default is 25). | |
| add_filter( 'searchwp\indexer\batch_size', function( $size ) { | |
| return 50; | |
| } ); |

