Allow to adjust commit mode

This will allow us to take advantage of new Solr configuration with autocommit

Change-Id: I23a2c832ae733a836594a163a018d9f1d44d8b20
Merge "Allow to adjust commit mode"