On Apr 4, 2012, at 6:50 PM, Mike O'Leary wrote: > If you index a set of documents with SolrJ and use > StreamingUpdateSolrServer.add(Collection<SolrInputDocument> docs, int > commitWithinMs), > it will perform a commit within the time specified, and it seems to use > default values for waitFlush and waitSearcher. > > Is there a place where you can specify different values for waitFlush and > waitSearcher, or if you want to use different values do you have to call > StreamingUpdateSolrServer.add(Collection<SolrInputDocument> docs) > and then call > StreamingUpdateSolrServer.commit(waitFlush, waitSearcher) > explicitly? > Thanks, > Mike
waitFlush actually does nothing in recent versions of Solr. waitSearcher doesn't seem so important when the commit is not done explicitly by the user or a client. - Mark Miller lucidimagination.com