Has anyone successfully setup DIH URLDataSource to paginate imports
using  $nextUrl & $hasMore ?:

http://wiki.apache.org/solr/DataImportHandler#Configuration_in_data-config.xml-1

It's not working for me, the data imports on the first page, but no
subsequent calls to the data source are processed.  Here is the
excerpt from my data-config.xml:
<field column="$hasMore" xpath="/results/page/has_more" />
<field column="$nextUrl" xpath="/results/page/next_url" />

The response from the data source has:
<results>
   <pagination>
       <has_more>true</has_more>
       <next_url>http://host/foo/import.xml?start=2</next_url>
   </pagination>
   <docs>
   ...
   </docs>
</results>

Reply via email to