Avoid an unnecessary call to Solr