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 305D3D1DD19 for ; Thu, 11 Mar 2004 17:00:49 +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 29881-02 for ; Thu, 11 Mar 2004 13:00:32 -0400 (AST) Received: from trade-india.com (ns1.trade-india.com [66.234.10.14]) by svr1.postgresql.org (Postfix) with SMTP id 74E6FD1C4EB for ; Thu, 11 Mar 2004 13:00:27 -0400 (AST) Received: (qmail 375 invoked from network); 11 Mar 2004 16:03:42 -0000 Received: from ns1.trade-india.com (HELO trade-india.com) (66.234.10.14) by ns1.trade-india.com with SMTP; 11 Mar 2004 16:03:42 -0000 Received: from 203.145.130.142 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Thu, 11 Mar 2004 21:33:42 +0530 (IST) Message-ID: <1788.203.145.130.142.1079021022.squirrel@mail.trade-india.com> Date: Thu, 11 Mar 2004 21:33:42 +0530 (IST) Subject: Re: Tsearch2 question: getting histogram of the vector elements From: To: In-Reply-To: <20040311155637.90738.qmail@web80204.mail.yahoo.com> References: <20040311155637.90738.qmail@web80204.mail.yahoo.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/135 X-Sequence-Number: 17234 Thanks very much , that was exactly what i needed. regds mallah. > 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 ----------------------------------------- Over 1,00,000 exporters are waiting for your order! Click below to get in touch with leading Indian exporters listed in the premier trade directory Exporters Yellow Pages. http://www.trade-india.com/dyn/gdh/eyp/