hi Users.

I have a Question,

i have a lot of XML to indexing, at the Moment i have two XML files, one
original, and one for solr a (Search_xml)

for example:

<add>
    <doc>
        <SECTION type="FILE_ITEMS">
            <field name="MD5SUM">6483030ed18d8b7a58a701c8bb638d20</field>
            <field name="DATEINAME">0012_201011051119382060000.pdf</field>
            <field name="FILE_TYPE">PDM</field>
        </SECTION>
        <SECTION type="ERP">
            <SECTION type="ERP_FILE_ITEMS">
                <field name="ID">xxxxxxxxxx</field>
            </SECTION>
            <SECTION type="ERP_FILE_CONTENT">
                <field name="VORGANGSART">EK-Anfrage</field>
            </SECTION>
        </SECTION>
    </doc>
</add>



Search_xml :




<add>
    <doc>
        <field
name="FILE_ITEMS_MD5SUM">6483030ed18d8b7a58a701c8bb638d20</field>
        <field
name="FILE_ITEMS_DATEINAME">0012_201011051119382060000.pdf</field>
        <field name="FILE_ITEMS_FILE_TYPE">PDM</field>
        <field name="ERP_ERP_FILE_ITEMS_ID">xxxxxxxxxx</field>
        <field name="ERP_ERP_FILE_CONTENT_VORGANSART">EK-Anfrage</field>
    </doc>
</add>

My Question is now, (how) can i indexing the Original XML? without move the
XML to a special search XML?

Reply via email to