Spark made it impossible to lookup an accumulator by name. Holding a global singleton here, so that external
clients that use this library can access the accumulators that are created by spark-solr for reading/writing
Get rid of this once Spark ties accumulators to the context SPARK-13051
Not really happy about the global singleton but I don't see any other way to do it
Spark made it impossible to lookup an accumulator by name. Holding a global singleton here, so that external clients that use this library can access the accumulators that are created by spark-solr for reading/writing Get rid of this once Spark ties accumulators to the context SPARK-13051
Not really happy about the global singleton but I don't see any other way to do it