lib/picky/internals/indexed/bundle/redis.rb in picky-1.5.2 vs lib/picky/internals/indexed/bundle/redis.rb in picky-1.5.3

- old
+ new

@@ -1,27 +1,27 @@ module Internals # encoding: utf-8 # module Indexed # :nodoc:all - + # # module Bundle - + # This is the _actual_ index (based on Redis). # # Handles exact/partial index, weights index, and similarity index. # class Redis < Base - + def initialize name, configuration, *args super name, configuration, *args - + @backend = Internals::Index::Redis.new name, configuration end - + # Get the ids for the given symbol. # # Ids are an array of string values in Redis. # def ids sym @@ -37,34 +37,13 @@ # TODO Spec. Doc. # def [] sym @backend.setting sym end - - # Loads the core index. - # - def load_index - # TODO check if it is there. - end - # Loads the weights index. - # - def load_weights - # TODO check if it is there. - end - # Loads the similarity index. - # - def load_similarity - # TODO check if it is there. - end - # Loads the configuration. - # - def load_configuration - # TODO check if it is there. - end - + end - + end - + end - + end \ No newline at end of file