Sha256: 3b03c5544c08fa2155d48bfcde74e15f49be55b13f6f104a1373d1a52f5b9500
Contents?: true
Size: 318 Bytes
Versions: 29
Compression:
Stored size: 318 Bytes
Contents
require 'rails/generators' namespace :blacklight_range_limit do desc 'Add in additional Solr docs' task seed: :environment do solr = Blacklight.default_index.connection docs = Dir['spec/fixtures/solr_documents/*.yml'].map { |f| YAML.load File.read(f) }.flatten solr.add docs solr.commit end end
Version data entries
29 entries across 29 versions & 1 rubygems