NOTICE - solrj MultiCore{Params/Request/Response} have been renamed CoreAdmin{Params/Request/Response}

2008-08-14 Thread Ryan McKinley
In the effort to clean up confusion around MultiCore usage, we have renamed the class that handle runtime core administration from "MultiCoreX" to CoreAdminX. Additionally, the path that the default MultiCoreRequest expects to hit is: /admin/cores rather then /admin/ multicore -- if you hav

Re: Solrj + Multicore

2008-06-05 Thread Erik Hatcher
On Jun 5, 2008, at 2:10 PM, Alexander Ramos Jardim wrote: It is not happening. I can't even access solr via web browser when using multicore. Compare your configuration/version with Solr's trunk multicore support. Here's what I did: $ cd dev/solr $ svn up # or svn co https://svn.apa

Re: Solrj + Multicore

2008-06-05 Thread Alexander Ramos Jardim
Well, I even can't get multicore working via the example. :-( It must something I done wrong, I will re-checkout solr and try again. 2008/6/5 Ryan McKinley <[EMAIL PROTECTED]>: > Can you make the packaged example work? > > I would suggest starting with the example and working from there -- ignor

Re: Solrj + Multicore

2008-06-05 Thread Ryan McKinley
Can you make the packaged example work? I would suggest starting with the example and working from there -- ignore solrj until you have things working via standard URL interfaces first. ryan On Jun 5, 2008, at 2:10 PM, Alexander Ramos Jardim wrote: It is not happening. I can't even access

Re: Solrj + Multicore

2008-06-05 Thread Alexander Ramos Jardim
It is not happening. I can't even access solr via web browser when using multicore. 2008/6/5 Ryan McKinley <[EMAIL PROTECTED]>: > without solrj, are you able to hit the url: > http://localhost:8983/solr/idxItem/update > > If not, something is amiss in your configs. Assuming you have multi-core >

Re: Solrj + Multicore

2008-06-05 Thread Ryan McKinley
without solrj, are you able to hit the url: http://localhost:8983/solr/idxItem/update If not, something is amiss in your configs. Assuming you have multi- core configured correctly, you should be able to see each handler at: http://host/context/${core}/${handler} ryan On Jun 4, 2008, at 2:2

Re: Solrj + Multicore

2008-06-04 Thread Ryan McKinley
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

Re: Solrj + Multicore

2008-06-04 Thread Alexander Ramos Jardim
It is mapped correctly. 2008/6/4 Erik Hatcher <[EMAIL PROTECTED]>: > > 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";) >>

Re: Solrj + Multicore

2008-06-04 Thread Erik Hatcher
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

Re: Solrj + Multicore

2008-06-04 Thread Alexander Ramos Jardim
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 up

Re: Solrj + Multicore

2008-06-03 Thread Ryan McKinley
This way I don't connect: new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";) this is how you need to connect... otherwise nothing will work. Perhaps we should throw an exception if you initialize a URL that contains "?" ryan

Re: Solrj + Multicore

2008-06-03 Thread Alexander Ramos Jardim
Well, This way I connect to my server new CommonsHttpSolrServer("http://localhost:8983/solr/?core=idxItem";) This way I don't connect: new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";) As you can obviously see, I can't use the first way because it produces wrong requests like http

Re: Solrj + Multicore

2008-06-03 Thread Erik Hatcher
On Jun 3, 2008, at 3:52 PM, Alexander Ramos Jardim wrote: Is there a way to access a specific core via Solrj Yes, depending on which SolrServer implementation: SolrServer server = new CommonsHttpSolrServer("http://localhost:8983/solr/ ") -or- SolrServer server = new EmbeddedSolrServer

Solrj + Multicore

2008-06-03 Thread Alexander Ramos Jardim
Is there a way to access a specific core via Solrj. Sorry but I couldn't find anything on wiki or google. -- Alexander Ramos Jardim