support for bulk indexing