]> git.cworth.org Git - sup/commit
index: cleanup interface
authorRich Lane <rlane@club.cc.cmu.edu>
Wed, 17 Jun 2009 00:24:58 +0000 (17:24 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 24 Jun 2009 13:44:45 +0000 (09:44 -0400)
commit5f9e826bb9eb3721ee6d1f7f1ce4893f57a543ce
treee008064674aef7aa7f125bac3cdee11c075a543e
parent55f9b292033d3facd1c8bfb791436723626339b0
index: cleanup interface

Added the public methods 'each_docid', 'each_message', and 'optimize' to the
index. Removed the 'index' and 'ferret' accessors and modified their callers to
use the new methods. Bonus fixes: sup-dump no longer skips the first message
and sup_sync --start_at can now delete unseen messages.
bin/sup-dump
bin/sup-sync
bin/sup-tweak-labels
lib/sup/index.rb