It is fixed in the trunk

On Thu, Apr 16, 2009 at 10:47 PM, Allahbaksh Asadullah
<allahbaks...@gmail.com> wrote:
> Thanks Noble.Regards,
> Allahbaksh
>
> 2009/4/16 Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@gmail.com>
>
>> On Thu, Apr 16, 2009 at 10:34 PM, Allahbaksh Asadullah
>> <allahbaks...@gmail.com> wrote:
>> > Hi,I have followed the procedure given on this blog to setup the solr
>> >
>> > Below is my code. I am trying to index the data but I am not able to
>> connect
>> > to server and getting authentication error.
>> >
>> >
>> > HttpClient client=new HttpClient();
>> > client.getState().setCredentials(new AuthScope("localhost", 80,
>> > AuthScope.ANY_SCHEME),
>> >                new UsernamePasswordCredentials("admin", "admin"));
>> >
>> > Can you please let me know what may be the problem.
>> >
>> > The other problem which I am facing is using Load Banlancing
>> > SolrServer lbHttpSolrServer = new LBHttpSolrServer("
>> > http://localhost:8080/solr","http://localhost:8983/solr";);
>> >
>> > Now the problem is the first server is down then I will get an error. If
>> I
>> > swap the server in constructor by giving port 8983 server as first and
>> 8080
>> > as second it works fine. The thing
>> >
>> > Problem is If only the last server which is set is active and the rest of
>> > other are down then Solr throws and exception and search is not
>> performed.
>> >
>> I shall write a testcase and let you know
>> > Regards,
>> > Allahbaksh
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>
>
>
> --
> Allahbaksh Mohammedali Asadullah,
> Software Engineering & Technology Labs,
> Infosys Technolgies Limited, Electronic City,
> Hosur Road, Bangalore 560 100, India.
> (Board: 91-80-28520261 | Extn: 73927 | Direct: 41173927.
> Fax: 91-80-28520362 | Mobile: 91-9845505322.
>



-- 
--Noble Paul

Reply via email to