lib/picky/indexes_indexing.rb in picky-4.6.3 vs lib/picky/indexes_indexing.rb in picky-4.6.4

- old
+ new

@@ -3,34 +3,25 @@ # Indexes indexing. # class Indexes extend Helpers::Indexing + include Helpers::Indexing instance_delegate :clear, :tokenizer - each_delegate :clear, + each_delegate :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 index scheduler = Scheduler.new - indexes.each { |index| index.prepare scheduler } - scheduler.finish - - # timed_exclaim "Tokenizing finished, generating data for indexes from tokenized data." - - indexes.each { |index| index.cache scheduler } - scheduler.finish end # # def tokenizer \ No newline at end of file