title: What is the best way to delete duplicate records after a raw import of text files to MongoDB?
body: <p>I imported a lot of records and need to be able to delete duplicates that might have been imported by mistake.</p>
  
  <p><a href="https://i.stack.imgur.com/FXlJC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FXlJC.png" alt="enter image description here"></a></p>
  
  <p>On a separate note, I would like to be able to query all records for specific keywords. I am new to MongoDB and was hoping someone could help with a query or two.</p>