Fixes for solr #2

Signed-off-by: Mathias Kaufmann <me@stei.gr>