You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by convoyer <sh...@gmail.com> on 2008/09/19 07:26:06 UTC

Can I add custom fields to the input XML file?

Hi guys.
Is the XML format for inputting data, is a standard one? or can I change it.
That is instead of :
<add><doc>
  <field name="id">3007WFP</field>
  <field name="name">Dell Widescreen UltraSharp 3007WFP</field>
  <field name="manu">Dell, Inc.</field>
</doc></add>

can I enter something like, 
<custList><clients>
<field name="id">100100</field>
<field name="property">BPO</field>
<field name="emp_count">1500</field>
</clients>
<clients>
<field name="id">100200</field>
<field name="property">ITES</field>
<field name="emp_count">2500</field>
</clients>
</custList >

Thanks




-- 
View this message in context: http://www.nabble.com/Can-I-add-custom-fields-to-the-input-XML-file--tp19566431p19566431.html
Sent from the Solr - User mailing list archive at Nabble.com.