title: MongoDB Full Text Search of Rich Documents
body: <p>I'm developing an Node.js app that stores HTML documents in a MongoDB database and want to provide full text search capabilities. From what I can see the full text search included in MongoDB expects documents to be plain text and therefore isn't suitable for indexing my html documents. Is that assumption correct and if so what do folks recommend for this. </p>
  
  <p>From reading other <a href="https://stackoverflow.com/questions/11015887/mongodb-full-text-search-options">SO posts</a> Elastic Search seems to be the most suggested path. I can't say I'm all that happy about bringing a Java app into the picture though. Also having a completely separate app is not my ideal scenario.</p>