Hi All, I am new here. Thanks for reading my question. I want to use DataImportHandler to index my tons of xml files (7GB total) stored in my local disk. My data-config.xml is attached below. It works fine with one file (abc.xml), but how can I index all xml files at one time? Thanks!
<dataConfig> <dataSource type="FileDataSource" /> <document> <entity name="example" url="/root/abc.xml" processor="XPathEntityProcessor" forEach="/ShopzillaQueryResponse/product" transformer="DateFormatTransformer"> <field column="id" xpath="/ShopzillaQueryResponse/product/id" /> <field column="name" xpath="/ShopzillaQueryResponse/product/name" /> <field column="sku" xpath="/ShopzillaQueryResponse/product/sku" /> <field column="mydescription" xpath="/ShopzillaQueryResponse/product/desc_short" /> <field column="price" xpath="/ShopzillaQueryResponse/product/merchantListing/merchantProduct/price" /> </entity> </document> </dataConfig>