Check for Solr version when determining which query parser to use.