solr - dataimport handler is indexing 0 documents -
hello i'm tring create dataimport url
i have url http://domain.loc/path under url have dynamicly generated xml
now have dataimport this
<dataconfig> <datasource type="httpdatasource" /> <document> <entity name="pages" pk="uid" url="http://domain.loc/?no_cache=1&type=9999" processor="xpathentityprocessor" foreach="/items" transformer="dateformattransformer"> <field column="uid" xpath="/items/item/uid" indexed="true" stored="true" /> <field column="name" xpath="/items/item/title" indexed="true" stored="true" /> </entity> </document>
xml under url looks this
<?xml version="1.0" encoding="utf-8"?> <items> <item> <uid>1</uid> <title>page 1</title> </item> <item> <uid>2</uid> <title>page 2.</title> </item> </items>
dataimport works indexing 0 documents , don't know why
Comments
Post a Comment