insert search results into mongo db.