Thanks Chantal
I am ok with the second call and I already tried using that.  Unfortunatly
It reads the whole file into a field.  My file is as below example
<xml > 
  <record> 
      ... 
  </record>
  
  <record> 
      ... 
  </record>
 
   <record> 
      ... 
  </record>

</xml>

Now the XPATH does the 'for each /record' part.  For each record I also need
to store the raw log in there.  If I use the  PlainTextEntityProcessor then
it gives me the whole file (from <xml> .. </xml> ) and not each of the
<record> </record>

Am I using the PlainTextEntityProcessor wrong?

THanks
g


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Store-complete-XML-record-DIH-XPathEntityProcessor-tp3205524p3207203.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to