摘要:
import scalaj.http.Http class SolrAdd () {// 方法接受两个参数,dataType为数据集名称,jsonString为数据json字符串 def postToSolr (dataType:String, jsonString: String): Unit = {// 字符串拼接 var data = "{'add':{ 'doc':" + ... 阅读全文
posted @ 2018-01-29 10:33
右介
阅读(1142)
评论(0)
推荐(0)

浙公网安备 33010602011771号