Hi!

On 2019-02-18T20:36:35, Erick Erickson wrote:
> Typically, people set their autocommit (hard) settings in
> solrconfig.xml and forget about it. I usually use a time-based trigger
> and don’t use documents as a trigger.
I added a timed autoCommit and it seems to work out nicely. Thank you!

> Until you do a hard commit, all the incoming documents are held in the
> transaction log,
Ah, yes. Somehow I did not draw the link to transactions.
I've noticed that solr is using only one of my four CPUs for applying
the update. With that in mind, could I submit my batches in parallel,
or would that be worse? To be honest, I've never seen what kind of
transaction or coherency model is used in solr.

I think it's touched briefly by the solr-ref-guide for applying updates
to single document fields; but I can't say for sure if it's using an
optimistic strategy or if the parallel updates would produce more
overhead by pessimistic locking.

regards,
=1

Reply via email to