PS: I got the 404 when I try to reload the core, I forgot to say.

THanks


On Mon, Dec 17, 2012 at 11:50 AM, Carlos Alexandro Becker <
caarl...@gmail.com> wrote:

> I'm trying to use solrj with the new solr4, but having some issues...
>
> I'm used to use Solr3. I create the cores with something like:
>
> CoreAdminRequest.Create create = new CoreAdminRequest.Create();
> create.setCoreName("somecorename");
> create.process(new SolrHTTPServer("http://localhost:8080/solr";);
>
> And to access it, I do something like:
>
> SolrServer server = new SolrHTTPServer("
> http://localhost:8080/solr/somecorename";);
>
> and then I use this server instance.
>
> But now, I got a 404 with it.
>
> I tried to add a "#/" before "somecorename", like the web interface, but
> it still don't work...
>
>
> Is the a way to pass the base URL and corename and then get the SolrServer
> instance?
>
>
> Thanks in advance.
>
>
> --
> Atenciosamente,
> *Carlos Alexandro Becker*
> http://caarlos0.github.com/about
>



-- 
Atenciosamente,
*Carlos Alexandro Becker*
http://caarlos0.github.com/about

Reply via email to