improved chunkrecord indexer