title: How can I do indexing .html files in SOLR
body: <p>The files I want to do indexing is stored on the server(I don't need to crawl). /path/to/files/
  the sample HTML file is </p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;meta name="product_id" content="11"/&gt;
  &lt;meta name="assetid" content="10001"/&gt;
  &lt;meta name="title" content="title of the article"/&gt;
  &lt;meta name="type" content="0xyzb"/&gt;
  &lt;meta name="category" content="article category"/&gt;
  &lt;meta name="first" content="details of the article"/&gt;
  
  &lt;h4&gt;title of the article&lt;/h4&gt;
  &lt;p class="link"&gt;&lt;a href="#link"&gt;How cite the Article&lt;/a&gt;&lt;/p&gt;
  &lt;p class="list"&gt;
    &lt;span class="listterm"&gt;Length: &lt;/span&gt;13 to 15 feet&lt;br&gt;
    &lt;span class="listterm"&gt;Height to Top of Head: &lt;/span&gt;up to 18 feet&lt;br&gt;
    &lt;span class="listterm"&gt;Weight: &lt;/span&gt;1,200 to 4,300 pounds&lt;br&gt;
    &lt;span class="listterm"&gt;Diet: &lt;/span&gt;leaves and branches of trees&lt;br&gt;
    &lt;span class="listterm"&gt;Number of Young: &lt;/span&gt;1&lt;br&gt;
    &lt;span class="listterm"&gt;Home: &lt;/span&gt;Sahara&lt;br&gt;
  
  &lt;/p&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>I have added the request handler in solrconfing.xml file. </p>
  
  <pre><code>&lt;requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"&gt;
  &lt;lst name="defaults"&gt;
    &lt;str name="config"&gt;/path/to/data-config.xml&lt;/str&gt;
  &lt;/lst&gt;
  </code></pre>
  
  <p></p>
  
  <p>My data-config.xml is look like this </p>
  
  <pre><code>&lt;dataConfig&gt;
  &lt;dataSource type="FileDataSource" /&gt;
  &lt;document&gt;
      &lt;entity name="f" processor="FileListEntityProcessor" baseDir="/path/to html/files/" fileName=".*html" recursive="true" rootEntity="false" dataSource="null"&gt;
          &lt;field column="plainText" name="text"/&gt;
      &lt;/entity&gt;
  &lt;/document&gt;
  &lt;/dataConfig&gt;
  </code></pre>
  
  <p>I have kept the default schema.xml file and added the following piece of code to schema.xml file. </p>
  
  <pre><code> &lt;field name="product_id" type="string" indexed="true" stored="true"/&gt;
   &lt;field name="assetid" type="string" indexed="true" stored="true" required="true" /&gt;
   &lt;field name="title" type="string" indexed="true" stored="true"/&gt;
   &lt;field name="type" type="string" indexed="true" stored="true"/&gt;
   &lt;field name="category" type="string" indexed="true" stored="true"/&gt;
   &lt;field name="first" type="text_general" indexed="true" stored="true"/&gt;
  
   &lt;uniqueKey&gt;assetid&lt;/uniqueKey&gt;
  </code></pre>
  
  <p>when I tried to do the full import after setting it up it shows that all html files fetched. But when I search in SOLR it didn't show me any result. Anyone have idea what could be possible cause?</p>
  
  <p>My understanding is all the files fetched correctly but not indexed in SOLR. Does anyone know how can I indexed those meta tags and content of the HTML file in SOLR?</p>
  
  <p>your reply will be appreciated. </p>