Solr indexer should use the API correctly