Can you believe I had never come across that before! Thanks! Every day’s a school day
Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: David Smiley <dsmi...@apache.org> Sent: Wednesday, March 17, 2021 8:48:23 PM To: users@solr.apache.org <users@solr.apache.org> Subject: Re: Disable commits during a REINDEXCOLLECTION Hi Karl, Look into the "config apI". Let us know how it goes! Ideally, this feature would do this automatically. ~ David Smiley Apache Lucene/Solr Search Developer https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fdavidwsmiley&data=04%7C01%7CKarl.Stoney%40autotrader.co.uk%7C3bd0a3557c6841f4a91008d8e9860bbe%7C926f3743f3d24b8a816818cfcbe776fe%7C0%7C0%7C637516109216986721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JcNE3AWytx2Ny5lyrH82EvS4hzI9eiCBImlZi0Az86M%3D&reserved=0 On Wed, Mar 17, 2021 at 2:02 PM Karl Stoney <karl.sto...@autotrader.co.uk.invalid> wrote: > Hi all, > We're wanting to use REINDEXCOLLECTION, but our config has a relatively > aggressive autoCommit interval configured by default (intentionally). > > Ideally I'd like to be able to disable hard commits for the duration of > the reindex, but can't see a way to do that without pushing a whole new > config and reloading that collection. > > Does anyone know of a ninja way at runtime to disable autoCommits on a > collection (solr cloud)? > > Thanks > Unless expressly stated otherwise in this email, this e-mail is sent on > behalf of Auto Trader Limited Registered Office: 1 Tony Wilson Place, > Manchester, Lancashire, M15 4FN (Registered in England No. 03909628). Auto > Trader Limited is part of the Auto Trader Group Plc group. This email and > any files transmitted with it are confidential and may be legally > privileged, and intended solely for the use of the individual or entity to > whom they are addressed. If you have received this email in error please > notify the sender. This email message has been swept for the presence of > computer viruses. > Unless expressly stated otherwise in this email, this e-mail is sent on behalf of Auto Trader Limited Registered Office: 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England No. 03909628). Auto Trader Limited is part of the Auto Trader Group Plc group. This email and any files transmitted with it are confidential and may be legally privileged, and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This email message has been swept for the presence of computer viruses.