SolrServer.add(Collection<SolrInputDocument> docs, int commitWithinMs)

Best,
Erick


On Wed, Aug 13, 2014 at 10:13 AM, M, Arjun (NSN - IN/Bangalore) <
arju...@nsn.com> wrote:

> Hi Harsha,
>
> Thanks for the response. But I am sending the updates via XML messages.
> Updates are through solr api in java.
>
> So it will be good if you can provide the references that side.
>
> Arjun M
>
> On Aug 13, 2014 5:40 PM, ext Harshvardhan Ojha <
> ojha.harshvard...@gmail.com> wrote:
> 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
> >
> >
> >
> >
> >
>

Reply via email to