Thanks a lot Alessandro and Emir.

Am 09.10.2017 um 13:40 schrieb alessandro.benedetti:
> In addition to what Emir mentioned, when Solr opens a new Transaction Log
> file it will delete the older ones up to some conditions :
> keep at least N number of records [1] and max K number of files[2].
> N is specified in the solrconfig.xml ( in the update handler section) and
> can be documents related or files related or both.
> So , potentially it could delete no one.
> 
> This blog from Erick is quite explicative[3] .
> If you like to take a look to the code, this class should help[4]
> 
> 
> 
> [1]  <str name="numRecordsToKeep">${solr.ulog.numRecordsToKeep:100}</str>
> [2]  <str name="maxNumLogsToKeep">${solr.ulog.maxNumLogsToKeep:10}</str>
> [3]
> https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/
> [4] org.apache.solr.update.UpdateLog
> 
> 
> 
> 
> -----
> ---------------
> Alessandro Benedetti
> Search Consultant, R&D Software Engineer, Director
> Sease Ltd. - www.sease.io
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
> 

Reply via email to