Supporting variable-based queries for firstSearcher and newSearch in solrconfig.xml