Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 468 Bytes
module Picky
# Indexes indexing.
#
class Indexes
extend Helpers::Indexing
include Helpers::Indexing
instance_forward :clear, :tokenizer
each_forward :cache, :clear, :prepare, :to => :indexes
# Overrides index from the helper.
#
def self.index scheduler = Scheduler.new
timed_indexing scheduler do
instance.index scheduler
end
end
#
#
def tokenizer
Tokenizer.indexing
end
end
end