On 9 April 2013 13:10, Max Bo <maximilian.brod...@gmail.com> wrote: > The XML files are formatted like this. I think there is the problem. [...]
Yes, to use curl to post to /solr/update you need to have XML in the form described at http://wiki.apache.org/solr/UpdateXmlMessages Else, you can use FileListEntityProcessor and XPathEntityProcessor with FileDataSource from the Solr DataImportHandler. Please see examples at http://wiki.apache.org/solr/DataImportHandler Regards, Gora