lib/picky/internals/indexing/category.rb in picky-2.4.0 vs lib/picky/internals/indexing/category.rb in picky-2.4.1

- old
+ new

@@ -36,10 +36,11 @@ # partial = options[:partial] || Generators::Partial::Default weights = options[:weights] || Generators::Weights::Default similarity = options[:similarity] || Generators::Similarity::Default - bundle_class = options[:indexing_bundle_class] || Bundle::Memory + bundle_class = index.bundle_class || Bundle::Memory + @exact = bundle_class.new(:exact, self, similarity, Generators::Partial::None.new, weights) @partial = bundle_class.new(:partial, self, Generators::Similarity::None.new, partial, weights) end # Return an appropriate source. \ No newline at end of file