solr csv 导入

                                                             solr csv 导入

  1、          启动solr

  2、 通过url 导入数据

   curl             http://localhost/solr-4.1.0/update/csv?stream.file=D:\tomcat7\0102.csv&stream.contentType=text/plain;charset=utf-8

        curl    http://localhost/solr-4.1.0/update/csv?commit=true

     

猜你喜欢

转载自chunguang.iteye.com/blog/1828739