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/;);
}
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
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