From this question - Solr Transaction Log Question, on the Solr User Mailing list:
Q: How large will the transaction log grow, and how long should it be kept around?
A: We keep around enough logs to satisfy a minimum of 100 updates lookback. Unneeded log files are deleted automatically. When a hard commit is done, we create a new log file (since we know the normal index files have been sync'd and hence we no longer need the update log for durability).
Issuing the hard commit is the key to keeping the transaction log to a manageable size. You can configure Solr to perform commits automatically based on time or document counts - See Update Handler Section on the Solr Wiki for more details.
Read full article from java - How the transaction log files will be deleted automatically in Solr 4.0? - Stack Overflow
No comments:
Post a Comment