What is your commit strategy? A hard commit (openSearcher=true or false doesn't matter) should close the current tlog file, open a new one and delete old ones. That said, there will be enough tlog files kept around to hold at least 100 documents. So if you're committing too often (say after every document or something), you can expect to have a bunch around. The real question is whether they stay around forever or not. If you index more documents, do old ones disappear?
Here's a writerup: http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ If that doesn't help, what version of Solr? How big are you tlog files? Details matter. Best, Erick On Sun, Nov 3, 2013 at 10:03 AM, Floyd Wu <floyd...@gmail.com> wrote: > After re-index 2xxxx xml files and done commit, optimization many times, I > still have many tlog files in data/tlof directory. > > Why? > > How to remove those files(delete them directly or just ignored them?) > > What is the difference if tlog files exist or not? > > Please kindly guide me. > > Thanks > > Floyd >