title: Using ElasticSearch and/or Solr as a datastore for MS Office and PDF documents
body: <p>I'm currently designing a full text search system where users perform text queries against MS Office and PDF documents, and the result will return a list of documents that best match the query.  The user will then be to select any document returned and view that document within MS Word, Excel, or a PDF viewer.</p>
  
  <p>Can I use ElasticSearch or Solr to import the raw binary documents (ie. .docx, .xlsx, .pdf files) into its "data store", and then export the document to the user's device on command for viewing.</p>
  
  <p>Previously, I used MongoDB 2.6.6 to import the raw files into GridFS and the extracted text into a separate collection (the collection contained a text index) and that worked fine.  However, MongoDB full text searching is quite basic and therefore I'm now looking at either Solr or ElasticSearch to perform more complex text searching.</p>
  
  <p>Nick</p>