Simplify create fragmentIndex.