SolrUtils: better exception handling in indexers
- Improves exception handling for add and commit calls.
- Makes use of autocommit in case commit could not be performed.
Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>