lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin, Roy" <rbenja...@ebay.com>
Subject How to update a core using SolrJ
Date Thu, 02 Aug 2012 20:42:24 GMT
I'm using SolrJ and CommonsHttpSolrServer.

Before moving to multi-core configuration I constructed CommonsHttpSolrServer from "http://localhost:8080/solr",
this worked fine.

Now I have two cores.  I have tried contructing CommonsHttpSolrServer from "http://localhost:8080/solr/core0"
but this does
not work.  The resource is not found when I try to add docs.

How do I update Solr using SolrJ in a multi-core configuration?  What is the correct form
for the CommonsHttpSolrServer URL?

Thanks!

Roy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message