lib/picky/backends/backend.rb in picky-4.12.1 vs lib/picky/backends/backend.rb in picky-4.12.2

- old
+ new

@@ -7,10 +7,12 @@ class Backend # This is the default behaviour and should be overridden # for different backends. # + # TODO Push down. + # # Returns an object that on #initial, #load returns # an object that responds to: # [:token] # => [id, id, id, id, id] (an array of ids) # @@ -19,12 +21,12 @@ end # Returns an object that on #initial, #load returns # an object that responds to: # [:token] # => 1.23 (a weight) # - def create_weights bundle - json bundle.index_path(:weights) - end + # def create_weights bundle + # json bundle.index_path(:weights) + # end # # Returns an object that on #initial, #load returns # # an object that responds to: # # [:encoded] # => [:original, :original] (an array of original symbols this similarity encoded thing maps to) # # # def create_similarity bundle \ No newline at end of file