Sha256: 5d2ba6e8db297a09538e810e430fcb3df8bf0f3ec7458d0703fed072ffc71eec
Contents?: true
Size: 918 Bytes
Versions: 2
Compression:
Stored size: 918 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_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multi-solr-01.07.00 | lib/multi_solr.rb |
multi-solr-01.06.00 | lib/multi_solr.rb |