concept transaction in category solr

This is an excerpt from Manning's book Solr in Action.
When a document is sent to Solr for indexing, it’s written to a transaction log to prevent data loss in the event of server failure. Solr’s transaction log sits between the client application and the Lucene index. It also plays a role in servicing real-time get requests, as documents are retrievable by their unique identifier regardless of whether they’re committed to Lucene.
With the transaction log, your main concern is balancing the trade-off between the length of your transaction log—that is, how many uncommitted updates—and how frequently you want to issue a hard commit. If your transaction log grows large, a restart may take a long time to process the updates, delaying your recovery process.