X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2F607D1B467 for ; Thu, 11 Mar 2004 17:43:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 42274-09 for ; Thu, 11 Mar 2004 13:43:18 -0400 (AST) Received: from web80204.mail.yahoo.com (web80204.mail.yahoo.com [66.218.79.39]) by svr1.postgresql.org (Postfix) with SMTP id 02110D1C9DB for ; Thu, 11 Mar 2004 13:43:13 -0400 (AST) Message-ID: <20040311155637.90738.qmail@web80204.mail.yahoo.com> Received: from [199.217.234.6] by web80204.mail.yahoo.com via HTTP; Thu, 11 Mar 2004 07:56:37 PST Date: Thu, 11 Mar 2004 07:56:37 -0800 (PST) From: George Essig Subject: Re: Tsearch2 question: getting histogram of the vector elements To: Rajesh Kumar Mallah Cc: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/136 X-Sequence-Number: 17235 Rajesh Kumar Mallah wrote: > can anyone help me analyzing the co_name_vec for the high frequency words? Use tsearch2's stat() function. Look at the example at the bottom of the following page: http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_Notes There's a lot of other documentation on the tsearch2 home page at: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/ George Essig