From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs414254agc; Sun, 1 Nov 2009 09:23:53 -0800 (PST) Received: by 10.224.108.204 with SMTP id g12mr2316747qap.270.1257096233248; Sun, 01 Nov 2009 09:23:53 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 42si6593032qyk.64.2009.11.01.09.23.53; Sun, 01 Nov 2009 09:23:53 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E15AF158806B; Sun, 1 Nov 2009 12:23:52 -0500 (EST) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id CD2B018582BE for ; Sun, 1 Nov 2009 12:23:49 -0500 (EST) Received: from w by entry.masanjin.net with local (Exim 4.69) (envelope-from ) id 1N4e9d-00061J-LP for sup-talk@rubyforge.org; Sun, 01 Nov 2009 09:23:49 -0800 From: William Morgan To: sup-talk In-reply-to: <1257094049-sup-1250@sgoldmanlinux.tower-research.com> References: <1256588053-sup-8922@sgoldmanlinux.tower-research.com> <1257093136-sup-2762@masanjin.net> <1257094049-sup-1250@sgoldmanlinux.tower-research.com> Date: Sun, 01 Nov 2009 09:23:49 -0800 Message-Id: <1257095945-sup-1972@masanjin.net> User-Agent: Sup/git Subject: Re: [sup-talk] Can't search without crashing X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Reformatted excerpts from Steve Goldman's message of 2009-11-01: > I'm replacing those sources (at least I backed up the sources.yaml > file) and will see how that goes. If you're really done with a source, you can remove it from sources.yaml, but you also need to remove all messages from the index. You should be able do something like: $ sh devel/console.sh >> q = Index.parse_query "source_id:4" => # ... >> Index.each_id(q) { |id| Index.delete id } => nil >> Index.save -- William _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk