Hi Arjun, You can send commit request to solr
https://wiki.apache.org/solr/UpdateXmlMessages#A.22commit.22_and_.22optimize.22 Regards Harshvardhan Ojha On Wed, Aug 13, 2014 at 5:36 PM, M, Arjun (NSN - IN/Bangalore) < arju...@nsn.com> wrote: > Hi, > > I have a query regarding solr commits. We have a use case where we > immediately query solr db after committing. We found that some data is > missing as part of query results. We are predicting that commit wouldn't > have completed when we query the solr db. > > Our solr commit config as follows. > > <autoCommit> > <maxDocs>100</maxDocs> > <maxTime>1000</maxTime> > <openSearcher>true</openSearcher> > </autoCommit> > > I have below question: > > - Is there a way to ensure that commit is completed before we query > the database or proceed with further commits? > > Any help here is highly appreciated.. > > > Thanks & Regards, > Arjun M > > > > >