Class: Solr::Request::MasterSlave::MasterNodeSelectionStrategy

Inherits:
NodeSelectionStrategy show all
Defined in:
lib/solr/request/master_slave/master_node_selection_strategy.rb

Instance Attribute Summary

Attributes inherited from NodeSelectionStrategy

#collection_name

Instance Method Summary collapse

Methods inherited from NodeSelectionStrategy

call, #initialize

Constructor Details

This class inherits a constructor from Solr::Request::NodeSelectionStrategy

Instance Method Details

#callObject



5
6
7
8
# File 'lib/solr/request/master_slave/master_node_selection_strategy.rb', line 5

def call
  urls = [Solr.configuration.master_url]
  map_urls_to_collections(urls)
end