Executes the indexing process using sevearl threads based on the partitioned
list of index entities.
By default (with maxThreads set to -1) creates N threads
during the indexing process where N is the number of partitioned index entities
groups (one therad per group).