Add documents to the mongodb database with scores