Extract entities and upsert into the collection.
Each entity is represented by a single MongoDB Document. Existing entities identified in documents will be updated.
Returns: List containing metadata on entities inserted and updated, one value for each input document.
list of textual documents and associated metadata.