Re: SOLRJ - Error while using CommonsHttpSolrServer

2012-12-12 Thread Andre Bois-Crettez
On 11/01/2012 05:06 AM, Jegannathan Mehalingam wrote: Here is my code which uses CommonsHttpSolrServer: String url = http://localhost:8983/solr/#/solr/update/;; your solr url looks wrong, try this : http://localhost:8983/solr/update/ or maybe this one is you have a core named solr :

Re: SOLRJ - Error while using CommonsHttpSolrServer

2012-11-01 Thread Shawn Heisey
On 10/31/2012 10:06 PM, Jegannathan Mehalingam wrote: - I tried using HttpSolrServer, but had some problems and some news groups mentioned that it is buggy and I should be using CommonsHttpSolrServer. So, I am using CommonsHttpSolrServer. But both approaches does not work. - I have tried using

Re: SOLRJ - Error while using CommonsHttpSolrServer

2012-11-01 Thread Jegannathan Mehalingam
I am using the default solr.xml that came with the installation. The core name is defined as solr. So, I changed the url to http://localhost:8983/solr/solr/; and that resolves the issue. I also replaced CommonsHttpSolrServer with HttpSolrServer and this works as well. I tried both

SOLRJ - Error while using CommonsHttpSolrServer

2012-10-31 Thread Jegannathan Mehalingam
- I tried using HttpSolrServer, but had some problems and some news groups mentioned that it is buggy and I should be using CommonsHttpSolrServer. So, I am using CommonsHttpSolrServer. But both approaches does not work. - I have tried using SOLR 4.0 as well as 3.6.1. I get errors in both