Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2A3D72E0223 for ; Tue, 4 Mar 2008 07:06:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88947-05 for ; Tue, 4 Mar 2008 07:06:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by postgresql.org (Postfix) with ESMTP id 2E6B92E0216 for ; Tue, 4 Mar 2008 07:06:36 -0400 (AST) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by pih-relay04.plus.net with esmtp (Exim) id 1JWUyh-0005YK-6p; Tue, 04 Mar 2008 11:06:35 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 2EFDD274056; Tue, 4 Mar 2008 11:06:32 +0000 (GMT) Message-ID: <47CD2D38.6080208@archonet.com> Date: Tue, 04 Mar 2008 11:06:32 +0000 From: Richard Huxton User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Oleg Bartunov CC: Gevik Babakhani , 'Magnus Hagander' , 'PostgreSQL - WWW ML' Subject: Re: www search behaviour References: <004a01c879a3$874b7a80$0a01a8c0@gevmus> <20080228082525.GD13189@svr2.hagander.net> <003f01c879e6$8ecdf380$0a01a8c0@gevmus> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: 271cbefdb934166877100707a47d95a6 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/35 X-Sequence-Number: 14154 Oleg Bartunov wrote: > On Thu, 28 Feb 2008, Gevik Babakhani wrote: > >>> Yeah, it's climbing up my TODO list... >> >> Anything that I can do to help? > > Several variants: > > 1. Create custom parser for pgweb, which doesn't mean that '_' is a > separator If it's of interest, I've got a custom parser here which is based on the default defined in wparser_def.c but includes an "identifier" type which allows underscores. Bear in mind this is the first bit of C coding I've done in decades, but it's only tweaking the default parser and adapting it to a contrib/ format so I don't think I could have gone that far wrong. -- Richard Huxton Archonet Ltd