Support IndexingPolicy when creating documentcollection.