module Solr::HelperMethods

Public Instance Methods

active_nodes_for(collection:) click to toggle source
# File lib/solr/helper_methods.rb, line 3
def active_nodes_for(collection:)
  if cloud_enabled?
    cloud_active_nodes_for(collection: collection)
  elsif master_slave_enabled?
    master_slave_active_nodes_for(collection: collection)
  end
end