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 -- 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 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 >>> configured correctly, you should be able to see each handler at: >>> http://host/context/${core}/${handler}<http://host/context/$%7Bcore%7D/$%7Bhandler%7D> >>> <http://host/context/$%7Bcore%7D/$%7Bhandler%7D> >>> >>> ryan >>> >>> >>> >>> On Jun 4, 2008, at 2:20 PM, Alexander Ramos Jardim wrote: >>> >>> 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") >>>>>>>> >>>>>>>> >>>>>>>> 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. >>>>>> >>>>>> >>>>>> Are you using Solr trunk? >>>>> >>>>> Is your solrconfig.xml the same as in trunk? Maybe you don't have >>>>> this >>>>> mapped? >>>>> >>>>> <requestHandler name="/update" class="solr.XmlUpdateRequestHandler"/> >>>>> >>>>> Erik >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> Alexander Ramos Jardim >>>> >>>> >>> >>> >> >> -- >> Alexander Ramos Jardim >> > > -- Alexander Ramos Jardim