Sha256: e5944289605364d0b7defda5885dbe5d467abb8e7567b1d3e263d1cdb7fe0933
Contents?: true
Size: 286 Bytes
Versions: 8
Compression:
Stored size: 286 Bytes
Contents
#!/usr/bin/env ruby require "groonga" if ARGV.size < 1 STDERR.puts "Usage: mournmail_reindex <path to messages.db>" exit 1 end Groonga::Database.open(ARGV[0]) Groonga["Messages"].columns.each do |c| print "Reindexing #{c.name}... " STDOUT.flush c.reindex puts "done" end
Version data entries
8 entries across 8 versions & 1 rubygems