By default wp solr index indexes 100 posts per batch. That's a lot if you just want to give it a quick test.
SolrPower_Batch_Index already supports a custom batch size through the posts_per_page query arg so we just have to pass the value to it. Proposal: wp solr index --batch-size=1 --batch=123
By default
wp solr index
indexes 100 posts per batch. That's a lot if you just want to give it a quick test.SolrPower_Batch_Index
already supports a custom batch size through theposts_per_page
query arg so we just have to pass the value to it. Proposal:wp solr index --batch-size=1 --batch=123