X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DEA549DD61A for ; Tue, 6 Dec 2005 16:35:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82915-06 for ; Tue, 6 Dec 2005 16:35:16 -0400 (AST) X-Greylist: delayed 03:10:10.150017 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by postgresql.org (Postfix) with ESMTP id 501489DCBE7 for ; Tue, 6 Dec 2005 16:10:37 -0400 (AST) Received: from galaxy.systems.pipex.net (galaxy.systems.pipex.net [62.241.162.31]) by svr2.postgresql.org (Postfix) with ESMTP id C9AFDF0C84 for ; Tue, 6 Dec 2005 17:00:28 +0000 (GMT) Received: from [192.168.0.88] (81-178-228-196.dsl.pipex.com [81.178.228.196]) by galaxy.systems.pipex.net (Postfix) with ESMTP id 8BF17E0004D9; Tue, 6 Dec 2005 17:00:21 +0000 (GMT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5ECF6B24-6ADB-4FDB-A545-0AFBCB1B66EB@garrett.co.uk> Cc: pgsql-performance@postgresql.org Content-Transfer-Encoding: 7bit From: Russell Garrett Subject: Re: TSearch2 vs. Apache Lucene Date: Tue, 6 Dec 2005 17:00:21 +0000 To: Joshua Kramer X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.332 required=5 tests=[RCVD_IN_BL_SPAMCOP_NET=1.332] X-Spam-Score: 1.332 X-Spam-Level: * X-Archive-Number: 200512/189 X-Sequence-Number: 16010 On 6 Dec 2005, at 16:47, Joshua Kramer wrote: > Has anyone ever compared TSearch2 to Lucene, as far as performance > is concerned? In our experience (small often-updated documents) Lucene leaves tsearch2 in the dust. This probably has a lot to do with our usage pattern though. For our usage it's very beneficial to have the index on a separate machine to the data, however in many cases this won't make sense. Lucene is also a lot easier to "cluster" than Postgres (it's simply a matter of NFS-mounting the index). Russ Garrett russ@last.fm