Hi,

I'm new to solr. It looks great.

I would like to add a XML document in the following format in solr:

<?xml version="1.0" encoding="utf-8"?>
<race>
<go>
    <id><![CDATA[...]]></id>
    <title><![CDATA[...]]></title>
    <url><![CDATA[...]]></url>
    <content><![CDATA[...]]></content>
    <city><![CDATA[...]]></city>
    <postcode><![CDATA[...]]></postcode>
    <contract><![CDATA[...]]></contract>
    <category><![CDATA[...]]></category>
    <date><![CDATA[...]]></date>
    <time><![CDATA[...]]></time>
</go>

etc...
</race>



Is there a way to do this? If yes how?

Or i need to convert it with some scripts to this:

<add>
<doc>
   <field name="authors">Patrick Eagar</field>
   <field name="subject">Sports</field>
etc...


Thanks for your help

Regards

Reply via email to