title: What is the formatting of Solr CEL/Tika output? And how to fix it?
body: <p>I am using Solr to index DOC, DOCX and PDF files. I had enabled <em>stored</em> for the text and I checked it out. Here's the result from a sample DOC file:</p>
  
  <blockquote>
    <p>, a <em>mobile</em> user interface (UI) software development company, based in Cambridge,
    UK. After integrating the company, Qualcomm re-branded their interface
    markup language and its accompanying integrated development
    environment (IDE) as <strong>HYPERLINK</strong>
    <em><strong>"http://en.wikipedia.org/w/index.php?title=UiOne&amp;action=edit&amp;redlink=1"</strong>
    *</em>\o "UiOne (page does not exist)" uiOne** . In March 2009, Qualcomm
    informed their Cambridge engineering staff, mostly from the division
    working on  <strong>HYPERLINK "http://en.wikipedia.org</strong></p>
  </blockquote>
  
  <p>The Doc contains material from Wikipdia. I captured a full output on <a href="http://pastebin.com/8FL9eHJv" rel="nofollow">http://pastebin.com/8FL9eHJv</a></p>
  
  <p>So Solr CEl/Tika <strong>inserts its own formatting, and the results of the formatting show up in the search output</strong>. How can I fix the problem so that the search results (text snippets) will not contain the formatting?</p>
  
  <p>Googling around tells me that TIKA has several output formats, so is that the approach? Or is there a plugin that can filter the text before rendering the results?</p>
  
  <p><strong>Relevant details</strong>: My configuration is <strong>close to stock</strong>:
  My upload command is a python variation of</p>
  
  <blockquote>
    <p>curl
    "http://localhost:8983/solr/update/extract?literal.id=doc-qualcomm&amp;commit=true"
    -F "myfile=@11qualcomm.doc"</p>
  </blockquote>
  
  <p>My schema.xml <a href="http://pastebin.com/VLz2uuDQ" rel="nofollow">http://pastebin.com/VLz2uuDQ</a></p>
  
  <p>My SolrConfig.xml <a href="http://pastebin.com/X2J2jj64" rel="nofollow">http://pastebin.com/X2J2jj64</a></p>