lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Underwood <>
Subject Re: Commit after every document - alternate approach
Date Fri, 04 Mar 2016 06:11:20 GMT
So batch them. You get a response back from Solr whether the document was accepted. If that
fail, there is a failure. What do you do then?

After every 100 docs or one minute, do a commit. Then delete the documents from the input
queue. What do you do when the commit fails?

Walter Underwood  (my blog)

> On Mar 3, 2016, at 8:46 PM, sangs8788 <> wrote:
> Hi Emir,
> Right now we are having only inserts into SOLR. The main reason for having
> commit after each document is to get a guarantee that the document has got
> indexed in solr. Until the commit status is received back the document will
> not be deleted from MQ. So that even if there is a commit failure the
> document can be resent from MQ.
> Thanks
> Sangeetha
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message