#200 and #201
[acts_as_ferret.git] / lib / index.rb
blob66ea99ecdb8b4825f05191318ec489292e56ade7
1 module ActsAsFerret
3   # base class for local and remote indexes
4   class AbstractIndex
6     attr_reader :aaf_configuration
7     attr_accessor :logger
8     def initialize(aaf_configuration)
9       @aaf_configuration = aaf_configuration
10       @logger = Logger.new("#{RAILS_ROOT}/log/ferret_index.log")
11       @logger.level = ActiveRecord::Base.logger.level
12     end
13     
14   end
16 end