Added param to run indexing on a subset of recs