JSON更新无法正常工作

时间:2012-09-22 20:04:58

标签: json scala solr

我尝试使用update/json处理程序将其插入到鞋底:

[{"id":"abc","text":"you have been served"}]

但索尔给了我这个难以解决的问题。我正在使用Scala + Dispatch HTTP,这对我来说是新的。我对Solr很有经验,但是这个错误信息没有用。这条消息究竟是什么?

我使用的是最新版本3.6,使用start.jar(用于测试)并禁用了update/json的延迟加载。

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 NOT_FOUND</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /update/json. Reason:
<pre>    NOT_FOUND</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>


</body>
</html>

1 个答案:

答案 0 :(得分:0)

而不是

localhost:8983/solr/update...

我不够粗心

localhost:8983/update...

我的坏。