"For every document processed, a soft commit is performed to make the update 
visible to other concurrent update processes.”

Please do not do this! First, Real Time Get will always return the current doc, 
whether you’ve opened a new reader or not. Second, this is an anti-pattern. I 
agree with Paras, set your defaults in solrconfig and forget about it. 

I’d also set the hard commits to something like 15 seconds 
(openSearcher=false). Or, if you can stand 15 second latency, set 
openSearcher=true and leave the soft commit set to -1.

Opening a searcher is a heavyweight operation. doing it after _every_ document 
is a poor choice. If you absolutely _must_, at least batch your updates up in 
groups of, say, 1,000 and open a new searcher after that.

Best,
Erick

> On Oct 24, 2019, at 3:52 AM, Danilo Tomasoni <tomas...@cosbi.eu> wrote:
> 
> For every document processed, a soft commit is performed to make the update 
> visible to other concurrent update processes.

Reply via email to