I am currently rebuilding our search index as we are moving to ElasticSearch. One thing I noticed is that the reindexing is very slow... it seems that operations are queued only slightly faster than they are being processed. The command has been running for roughly 36 minutes and has processed 14.2% of all indexes, which puts it at a rate of around 12 objects per second.
> ./bin/search index --all --background Indexing 12 object of type CONP. Indexing 20791 object of type DREV. Indexing 24566 object of type TASK. Indexing 4 object of type CDTL. Indexing 132 object of type PROJ. Indexing 146602 object of type CMIT. Indexing 290 object of type USER. Indexing 1 object of type MOCK. Indexing 17 object of type WIKI. [=========- ] 14.2%
After this 36 minutes, there are less than 10 tasks sitting in "Next in Queue".