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&amp;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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -