You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Afaik SolrJ supports querying a solr collection using an alias in place of real collection names, but in spark-solr, when an alias is provided in place of a collection it fails with "collection x not found" error.
I couldn't find another config parameter to provide an alias.
val solrOptions = Map(
"zkHost" -> "myZkHost",
"collection" -> "myAlias",
"query" -> "*:*",
"flatten_multivalued"-> "false"
)
val data = spark.read.format("solr").options(solrOptions).load
data.createOrReplaceTempView("myView")
data.count()
fails with the above error.
The text was updated successfully, but these errors were encountered:
Afaik SolrJ supports querying a solr collection using an alias in place of real collection names, but in spark-solr, when an alias is provided in place of a collection it fails with "collection x not found" error.
I couldn't find another config parameter to provide an alias.
fails with the above error.
The text was updated successfully, but these errors were encountered: