Hi Friends,

I am new to Solr technology. I want to do searching for xml documents. In 
source distribution examples of solr, we have same structure of XML documents 
i.e.
<add>
    <doc>
        <field></field>
        <field></field>
        .......
    </doc>
</add>

Can we change this structure of posting xml document?
i.e Can we do it like -->

<add>
    <doc>
        <field></field>
        <field></field>
            <student>        
                <name>
                    <firstname>....</firstname>
                    <lastname>....</lastname>
                </name>
                <age>....</age>
                <sex>....</sex>
            </student>
    </doc>
</add>

    Actually I have student.xml in above format. I want to do indexing and 
searching on student database which is in XML files.

With best regards

From
Vikas R. Khengare

Reply via email to