Add an option for being able to clear the index before starting the batch indexingjob