Are you using a recent version of multi-core?

Do you have the /update RequestHandler mapped in solrconfig.xml? Since multicore support is new, it does not support the @deprecated / update servlet....

ryan


On Jun 4, 2008, at 10:07 AM, Alexander Ramos Jardim wrote:
2008/6/3 Ryan McKinley <[EMAIL PROTECTED]>:



This way I don't connect:
new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";)


this is how you need to connect... otherwise nothing will work.


When I try this way, I get the following exception, when trying to make an
update to my index:

org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8983/solr/idxItem/update?wt=xml&version=2.2
   at
org .apache .solr .client .solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java: 308)
   at
org .apache .solr .client .solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java: 152)
   at
org .apache .solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java: 220)
   at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:51)
   at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:55)
  ...




Perhaps we should throw an exception if you initialize a URL that contains
"?"

ryan




--
Alexander Ramos Jardim

Reply via email to