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 Thu, Jun 9, 2016 at 4:08 PM, Upayavira <u...@odoko.co.uk> wrote: > 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 using EmbeddedSolrServer. > > > > Using this EmbeddedSolrServer in java - loading the core container as > > below ... > > *embeddedSolrServer.getCoreContainer().load();* > > > > We are loading the container at the time of initiating the > > ApplicationContext. And now Java application is able to access the > > indexed > > data. > > > > *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().* > > > > Can you please help me out to on how to access the new data (which is > > indexed on Solr) using java application with out calling every-time > > *embeddedSolrServer.getCoreContainer().load().* > > > > *??? * > > > > *Please help me out ... I am stuck and not able to proceed further ... It > > is leading to critical issue ...* > > > > *Thanks In Advance.* >