Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread Shawn Heisey
On 6/9/2016 4:13 AM, SRINI SOLR wrote: > *Now the issue is - * > *If I index the new data in Solr - the same data is not getting loaded > through Java application until and un-less if I again load the Core > Container using **embeddedSolrServer.getCoreContainer().load().* This sounds like you are

Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread Upayavira
Firstly, I'm not sure why you are using embeddedSolrServer. You would be much better off running a standalone Solr server, and connecting to it with a SolrClient, in Java. Then you can do client.commit(); to execute a commit. EmbeddedSolrServer behaves slightly differently from normal Solr, and wi

Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread SRINI SOLR
Hi Upayavira / Team - Can you please explain in-detail - how to do the commit...? if we do the commit - Will the new data will be available to Java Application with-out calling *embeddedSolrServer.* *getCoreContainer().load()*. again. ...? Please help me here ... Thanks in Advance. On Th

Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread Upayavira
Are you executing a commit? You must commit before your content becomes visible. Upayavira On Thu, 9 Jun 2016, at 11:13 AM, SRINI SOLR wrote: > Hi Team - > Can you please help me out on the below issue ... > > We are using the Solr 4.3.1 version. > > Integrated Solr 4.3.1 with Java application