Hi Leo, If you gracefully shut down Solr documents will be committed. Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/
> On 20 Oct 2017, at 08:44, Leo Prince <leoprince.discussi...@gmail.com> wrote: > > Thank you Yonik. > > Since we are using SoftCommits, the docs written will be in RAM until a > AutoCommit to reflect onto Disk, I just wanted to know what happens when > Solr restarts. Being said, I am using 4.10 and tomcat is handling the Solr, > when we restart the tomcat service just before an AutoCommit, what happens > to the temporary soft written docs which is in RAM. Will they gracefully > write to the disk before restart or should I have to do > "/solr/update?commit=true" manually every time before restarting Solr..? > > On Wed, Oct 18, 2017 at 6:08 PM, Yonik Seeley <ysee...@gmail.com> wrote: > >> On Wed, Oct 18, 2017 at 5:09 AM, Leo Prince >> <leoprince.discussi...@gmail.com> wrote: >>> Is there any known negative impacts in setting up autoSoftCommit as 1 >>> second other than RAM usage..? >> >> Briefly: >> Don't use autowarming (but keep caches enabled!) >> Use docValues for fields you will facet and sort on (this will avoid >> using FieldCache) >> >> -Yonik >>