Pojo not getting added to Solr Index

2009-08-10 Thread Ninad Raut
I am not getting any excpetion, but the document is not getting added to Solr. Here is the code: public class ClientSearch { public SolrServer getSolrServer() throws MalformedURLException{ //the instance can be reused return new CommonsHttpSolrServer(http://germinait22:8983/solr/core0/;); }

Re: Pojo not getting added to Solr Index

2009-08-10 Thread Avlesh Singh
Where am I going wrong?? I think you forgot to commit after adding beans via the SolrServer. PS: I am damn sure that you don't intend to create a new instance of CommonsHttpSolrServer everytime. Cheers Avlesh On Mon, Aug 10, 2009 at 5:55 PM, Ninad Raut hbase.user.ni...@gmail.comwrote: I am

Re: Pojo not getting added to Solr Index

2009-08-10 Thread Ninad Raut
thanks Avlesh, u saved my day... !! yes I am not going to have a new instance of server every time... this is just a Proof of concept. On Mon, Aug 10, 2009 at 6:06 PM, Avlesh Singh avl...@gmail.com wrote: Where am I going wrong?? I think you forgot to commit after adding beans via the