Reputation: 23078
Will Solr 4.0 with transaction logs ensure that successful updates are always durable, even with soft-committed changes?
The wiki says:
softCommit = "true" | "false" — default is false — perform a soft commit - this will refresh the 'view' of the index in a more performant manner, but without "on-disk" guarantees.
But the press release says:
Update durability – A transaction log ensures that even uncommitted documents are never lost
Upvotes: 1
Views: 353
Reputation: 60195
I guess it all depends on the fact that the transaction log is not enabled by default. If you only use soft commits there's no durability guarantee, but if you enable the transaction log all changes will be registered there, which is safer. The transaction log gives also the support for realtime GET.
Upvotes: 2