Class: BaseIndexer::SolrConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/base_indexer/solr/solr_configuration.rb

Overview

It is an interface to load the solr configuration hash

Direct Known Subclasses

SolrConfigurationFromFile

Instance Method Summary collapse

Instance Method Details

#get_configuration_hashHash

Returns hash represents the solr configuration.

Examples:

{"target1":{"url"=>"http://localhost/solr/"},"target2":{"url"=>"http://solr-cor.com/solr/"}}

Returns:

  • (Hash)

    hash represents the solr configuration



14
15
# File 'lib/base_indexer/solr/solr_configuration.rb', line 14

def get_configuration_hash
end

#read(default_arg = nil) ⇒ Object

It reads the configuration argument. This function is loaded by default when the base_indexer_engine is loading



8
9
# File 'lib/base_indexer/solr/solr_configuration.rb', line 8

def read(default_arg=nil)
end