only index global records when processing the first repository