Sha256: e3ff5215950a5021153f41765ff9e24eb51216017820e8ced569a9693e17df4e

Contents?: true

Size: 570 Bytes

Versions: 13

Compression:

Stored size: 570 Bytes

Contents

namespace :meilisearch do
  desc 'Reindex all models'
  task reindex: :environment do
    puts 'Reindexing all Meilisearch models'

    MeiliSearch::Rails::Utilities.reindex_all_models
  end

  desc 'Set settings to all indexes'
  task set_all_settings: :environment do
    puts 'Set settings in all Meilisearch models'

    MeiliSearch::Rails::Utilities.set_settings_all_models
  end

  desc 'Clear all indexes'
  task clear_indexes: :environment do
    puts 'Clearing indexes from all Meilisearch models'

    MeiliSearch::Rails::Utilities.clear_all_indexes
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
meilisearch-rails-0.10.0 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.9.1 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.9.0 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.8.1 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.8.0 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.7.3 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.7.2 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.7.1 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.7.0 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.6.0 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.5.2 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.5.1 lib/meilisearch/rails/tasks/meilisearch.rake
meilisearch-rails-0.5.0 lib/meilisearch/rails/tasks/meilisearch.rake