php - Solr DataimportHandler with MySQL and URLDataSource as JSON -
i have data-config.xml <dataconfig> <datasource name="sql" type="jdbcdatasource" driver="com.mysql.jdbc.driver" url="jdbc:mysql://server/db" user="user" password="pwd"/> <datasource name="web" type="urldatasource" connectiontimeout="5000" readtimeout="10000" /> <document name="doc"> <entity name="artikel" datasource="sql" query="select a.x1,a.x2,b.y1,b.y2 tab1 a, tab2 b a.id>0 , a.x1=b.y1" deltaimportquery="select a.x1,a.x2,b.y1,b.y2 tab1 a, tab2 b a.id>0 , a.x1=b.y1 id='${dataimporter.delta.job_jobs_id}' " deltaquery="select select a.x1,a.x2,b.y1,b.y2 tab1 a, tab2 b a.id>0 , a.x1=b.y1 tab1 a, tab2 b b timestamp > '${dataimporter.last_index_time}' , a.shopwgr=b.shopwgr"> ...