Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] xapian merged into next
Date: Mon, 27 Jul 2009 09:44:54 -0700	[thread overview]
Message-ID: <1248712876-sup-1446@entry> (raw)
In-Reply-To: <1e5fdab70907270931t7dfbe285h67197a7355b611d6@mail.gmail.com>

Reformatted excerpts from Guillaume Quintard's message of 2009-07-27:
> So, we just export SUP_INDEX=xapian and that's it? We start with an
> empty sup and we just have to reimport the mbox/maildir/whatever?
> Means losing the red states and tags, I guess.

Current instructions:

1. install the ruby xapian library and the ruby gdbm library, if you
   don't have them. These are packaged by your distro, and are not gems.
2. git checkout next
3. git pull
4. cp ~/.sup/sources.yaml /tmp # just in case
5. ruby -Ilib bin/sup-dump > dumpfile
6. SUP_INDEX=xapian ruby -Ilib bin/sup-sync --all --all-sources --restore dumpfile
7. SUP_INDEX=xapian ruby -Ilib bin/sup -o
8. Oooh, fast.

This should not disturb your Ferret index, so you can switch back and forth
between the two. (Message state, of course, is not shared.) However, adding new
messages to one index will prevent it from being automatically added to the
other, so I recommend running in Xapian mode with -o and not pressing 'P'.
Unless, of of course, you're ready to switch permanently, in which case rm -rf
~/.sup/ferret. :)
-- 
William <wmorgan-sup at masanjin.net>


  reply	other threads:[~2009-07-27 16:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27 16:13 William Morgan
2009-07-27 16:16 ` Guillaume Quintard
2009-07-27 16:27   ` William Morgan
2009-07-27 16:31     ` Guillaume Quintard
2009-07-27 16:44       ` William Morgan [this message]
2009-07-27 16:47         ` Guillaume Quintard
2009-07-27 16:50           ` William Morgan
2009-07-27 17:09             ` Guillaume Quintard
2009-07-27 17:34               ` William Morgan
     [not found]                 ` <1e5fdab70908010934l30373447r4a405c5ca0e406f9@mail.gmail.com>
2009-08-01 17:44                   ` [sup-talk] Fwd: " Guillaume Quintard
2009-08-01 18:14                     ` Rich Lane
2009-08-01 18:31                       ` Guillaume Quintard
2009-08-01 23:03                         ` Rich Lane
2009-08-01 23:35                           ` Guillaume Quintard
2009-07-27 20:04         ` [sup-talk] " Guillaume Quintard
2009-07-28  3:33           ` Rich Lane
2009-07-28 15:13             ` William Morgan
2009-07-28  0:33     ` Richard Heycock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1248712876-sup-1446@entry \
    --to=wmorgan-sup@masanjin.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox