Collect terms from all indexes.