only use pointer to slice in BulkIndex