Sha256: 093a7dd2610052b0b645e8f2e495ab7ddd507a090975d3c2de0ffedea41d0950
Contents?: true
Size: 957 Bytes
Versions: 18
Compression:
Stored size: 957 Bytes
Contents
require 'logger' require 'active_support/cache' require 'multi_solr/version' require 'multi_solr/solr_filter_simple' require 'multi_solr/solr_filter_collection' require 'multi_solr/solr_filter_range' require 'multi_solr/solr_filter_date' require 'multi_solr/solr_filter_date_range' require 'multi_solr/solr_filter_free_query' require 'multi_solr/solr_filter_boolean' require 'multi_solr/filter_value_composite' require 'multi_solr/search_request' require 'multi_solr/search_result' require 'multi_solr/single_core_handler' require 'multi_solr/timeline_core_handler' module MultiSolr @@logger = nil @@cache = nil def logger return Rails.logger if defined? Rails if @@logger.nil? @@logger = Logger.new($stdout) end @@logger end def cache return Rails.cache if defined? Rails if @@cache.nil? @@cache = ActiveSupport::Cache::MemoryStore.new end @@cache end module_function :logger, :cache end
Version data entries
18 entries across 18 versions & 1 rubygems