初學(xué) solr:(solr 4.4)看到一個(gè)例子:http://localhost:8983/solr/collection1/update?wt=jsonpost 內(nèi)容:<add><delete><id>SP2514N</id></delete></add>執(zhí)行成功。但是 psot 內(nèi)容換成{"add":{"delete":{"id": "SP2514N"}}}結(jié)果出錯(cuò): "msg":"Unknown key: delete [22]"再把 url 換成 http://localhost:8983/solr/collection1/update/json?wt=json還是出錯(cuò): "msg":"Unknown key: delete [21]這是為什么呀?
- 2 回答
- 0 關(guān)注
- 187 瀏覽
添加回答
舉報(bào)
0/150
提交
取消