spark-solr
spark-solr copied to clipboard
APOLLO-23097: Support querying aliases
Users of Spark-solr (via SolrRelation) specify the collection they want to query using the 'collection' config parameter. Prior to this commit, this value did not support aliases: it was used directly to lookup core urls since it was always a concrete collections.
This commit rewrites this logic, so that aliases can be passed into 'collection' directly.