solr oracle DIH outofmemory -
i use solr4.5.try import 7 million rows data solr. database oracle.the db-data-config.xml is:
<dataconfig> <datasource driver="oracle.jdbc.oracledriver" url="jdbc:oracle:thin:@localhost:1521:orcl2" batchsize="700" user="solrdata" password="solrdata" /> <document> <entity name="claim" query="select * td_performanc_status_monitor"> </entity> </document> </dataconfig>
i had try set batchsize,but failed.i don't know why "batchsize" not work.maybe used wrong xml. way, start solr use command"java -jar start.jar".
and placed jdbc driver d:\solr-4.5.0\example\solr-webapp\webapp\web-inf\lib still didn't work. please tell me how index data. thank you.
Comments
Post a Comment