A numerical or symbolic code assigned to a document that generative models learn to predict for retrieval tasks.