title: Return all search hits in the highlighted list in solr using solrnet
body: <p>We are trying to execute a solr based search on the content of text files and the requirement is trying to return all the hits of the search term in each document along with the highlighted text around the hit.</p>
  
  <p>We are able to return the number of documents found along with the highlighted snippet around the first hit of the search term in the document. But is does not return the list of highlights across the document where the search term is found. We can get the TermFrequency reported as the correct number but not the snippets around all these occurrences.</p>
  
  <p>Relevant portion of the solr schema:</p>
  
  <pre><code>&lt;field name="Content" type="text_general" indexed="false" stored="true" required="true"/&gt;
  &lt;field name="ContentSearch" type="text_general" indexed="true" stored="false" multiValued="true"/&gt;
  
  &lt;copyField source="Content" dest="ContentSearch"/&gt;
  </code></pre>
  
  <p>For example, if we have a.txt and b.pdf which are indexed, and the search term 
  "case" exists in both the documents multiple times(a.txt - 7 hits, b.pdf - 10 
  hits), when executing a search for "case" against both the documents, we are 
  getting two documents returned with the correct term frequencies(7 and 9) but the highlight list contains only one record which corresponds to the first hit in the files.</p>
  
  <p>Is this something to do with using TermVectorComponent for the content field. I have read but could not quite make out the way the TVC works and in which situation it is helpful.</p>