Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id AA7E39FB274 for ; Wed, 28 Feb 2007 03:44:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 25626-08; Wed, 28 Feb 2007 03:44:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 3F4599FB229; Wed, 28 Feb 2007 03:44:42 -0400 (AST) Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by svr2.hagander.net (Postfix) with ESMTP id EB3ACDCC61E; Wed, 28 Feb 2007 08:44:39 +0100 (CET) Received: by svr2.hagander.net (Postfix, from userid 1000) id E6141DCC621; Wed, 28 Feb 2007 08:44:39 +0100 (CET) Date: Wed, 28 Feb 2007 08:44:39 +0100 From: Magnus Hagander To: Charles Sprickman Cc: Dave Page , Madison Kelly , pgsql-performance@postgresql.org Subject: Re: Writting a "search engine" for a pgsql DB Message-ID: <20070228074439.GA24046@svr2.hagander.net> References: <45E30ADA.2050700@alteeve.com> <20070227131558.GP12721@svr2.hagander.net> <45E4333B.9020008@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200702/337 X-Sequence-Number: 23391 On Tue, Feb 27, 2007 at 06:36:11PM -0500, Charles Sprickman wrote: > On Tue, 27 Feb 2007, Dave Page wrote: > > >Magnus Hagander wrote: > >> > >>Just as a datapoint, we did try to use mnogosearch for the > >>postgresql.org website+archives search, and it fell over completely. > >>Indexing took way too long, and we had search times several thousand > >>times longer than with tsearch2. > >> > >>That said, I'm sure there are cases when it works fine :-) > > > >There are - in fact before your time the site did use Mnogosearch. We > >moved to our own port of ASPSeek when we outgrew Mnogo's capabilities, > >and then to your TSearch code when we outgrew ASPSeek. > > At risk of pulling this way too far off topic, may I ask how many > documents (mail messages) you were dealing with when things started to > fall apart with mnogo? We're looking at it for a new project that will > hopefully get bigger and bigger. We will be throwing groups of mailing > lists into their own mnogo config/tables... If we should save ourselves > the pain and look at something more homebrew, then we'll start > investigating "Tsearch". I don't know when it broke exactly, but I know we're currently doing about 600,000 documents. AFAIK it started to fall apart pretty long before that. //Magnus