On 12/31/2013 1:00 AM, kumar wrote: > I have two cores "core0" and "core1" > > When i am accessing core0 using following url it is giving proper results. > > http://hostname/solr/core0/main?q=*%3A*&wt=json&indent=true > > But when i am trying to use core1 using the following url it is not giving > the results. saying authorization requiredand 401 error. > > http://hostname/solr/core1/main?q=*%3A*&wt=json&indent=true > > How can i resolve this problem. i am using tomcat7, ubuntu OS
Solr has no security built in. Your tomcat configuration contains some kind of authentication. As for why it's working on core0 without a problem, my best guess is that it has some kind of exception list for that URL path. You'll need to get help from a tomcat support resource. It's strongly recommended that you run Solr using the Jetty that's included with the example. That is a fully tested container for Solr, with an optimized configuration for most setups. Thanks, Shawn