lib/picky/bundle_indexing.rb in picky-3.6.7 vs lib/picky/bundle_indexing.rb in picky-3.6.8
- old
+ new
@@ -26,22 +26,18 @@
# with the actual index running etc.
# (Find these in Indexed::Bundle)
#
class Bundle
- # When indexing, clear only clears the inverted index.
- #
- delegate :clear,
- :to => :inverted
-
# Saves the indexes in a dump file.
#
def dump
dump_inverted
dump_similarity
dump_weights
dump_configuration
+ dump_realtime
end
# Dumps the core index.
#
def dump_inverted
@backend_inverted.dump @inverted
@@ -60,9 +56,14 @@
end
# Dumps the configuration.
#
def dump_configuration
@backend_configuration.dump @configuration
+ end
+ # Dumps the realtime.
+ #
+ def dump_realtime
+ @backend_realtime.dump @realtime
end
end
end
\ No newline at end of file