nl_tokens: Create all the indexes on the collections for a given dataset
pl_tokens: function ensureIndexesForDataset ( datasetId ) { createIndexForCollection ( getDatasetRecordsCollectionName ( datasetId ) , { 'uid' : 1 } , { } ) ; createIndexForCollection ( getDatasetRecordsCollectionName ( datasetId ) , { 'refs' : 1 } , { } ) ; createIndexForCollection ( <mask> ( './sync-updates' ) . getDatasetUpdatesCollectionName ( datasetId ) , { 'cuid' : 1 , 'hash' : 1 } , { } ) ; }