title: Indexing structured dataset XML documents in Solr/lucene
body: <p>I am trying to use Solr to index a small dataset of XML Documents,
  sample xml here:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;doc xmin = 0, xmax = 9.233174603174604&gt;     
  &lt;title&gt;John speech&lt;/title&gt;
  &lt;description&gt;shjshksjcjslkclsjk &lt;/description&gt;
  &lt;uploaded_time&gt;03/14/2010 08:44 PM&lt;/uploaded_time&gt;
  &lt;likes&gt;84906&lt;/likes&gt;
  &lt;tier name="words"&gt;
  &lt;trans   xmin="0.0"  xmax="0.8325873015873018"&gt;silent&lt;/trans&gt;
  &lt;trans   xmin="0.8325873015873018"   xmax="1.9564232192938984"&gt;Hi&lt;/trans&gt;
  &lt;trans   xmin="1.9564232192938984"   xmax="3.874938884654082"&gt;I&lt;/trans&gt;
  &lt;trans   xmin="3.874938884654082"    xmax="4.940780920965295"&gt;am&lt;/trans&gt;
  &lt;trans   xmin="4.940780920965295"    xmax="6.495133890585815"&gt;John&lt;/trans&gt;
  :
  :
  &lt;/tier&gt;
  &lt;doc&gt;
  </code></pre>
  
  <p>Is this type of nested xml tags indexable by Solr?
  I tried the DataImportHandler with <a href="https://gist.github.com/faridasabry/e7eead99c3913cb8971cd067fe8db2ab" rel="nofollow">solrconfig.xml</a>! and this <a href="https://gist.github.com/faridasabry/8d3bb9066bc9b784e11e3095e672ab21" rel="nofollow">xml-data-config.xml</a>! (not sure about its correctness still have no clear understanding of how to deal with nested xml especially for the undetermined tier length)</p>
  
  <p>But trying to do the dataimport, I receive :</p>
  
  <blockquote>
    <p>Indexing ...
    Requests: 0 , Fetched: 0 , Skipped: 0 , Processed: 0 </p>
  </blockquote>
  
  <p>and it is kept for a long time although my small dataset only contains few short files.</p>
  
  <p>What I am missing?? </p>