Factory for solr 4.3+