Added search type to prevent Solr parse errors in edge cases.