Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: www search behaviour


  • From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
  • To: Magnus Hagander <magnus(at)hagander(dot)net>
  • Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, "'PostgreSQL - WWW ML'" <pgsql-www(at)postgresql(dot)org>
  • Subject: Re: www search behaviour
  • Date: Thu, 28 Feb 2008 12:10:08 +0300 (MSK)
  • Message-id: <Pine(dot)LNX(dot)4(dot)64(dot)0802281207170(dot)31180(at)sn(dot)sai(dot)msu(dot)ru>

On Thu, 28 Feb 2008, Magnus Hagander wrote:

On Thu, Feb 28, 2008 at 11:54:34AM +0300, 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
2. Create synonym dictionary for pgweb, which lists all pg specific
terms

1. is a most right way, 2. is a most easy way, just create word stats,
see all terms with '_' and create pgvars dictionary like
some_word some_word

Didn't we also talk about option 3, a custom dictionary that strips the
underscores? Where could poteitnally use the regexp one as well?

I forget it :)


If you do pt 2, I can put it in right away. It'll take a reindexing of the
whole db though. (Well, any of the options will)


Then created text search configuration , test it and give it to Magnus.
btw, Magnus, did you move to 8.3 ?

Yes, we're on 8.3. And it's great ;-)

I'm busy, I and Teodor are going to Toulouse (France) btw. I think Gevik
could help you. Custom parser will be not difficult. About dictionary - http://vo.astronet.ru/arxiv/dict_regex.html, I'm not sure if it's ported
to 8.3. I'll ping author.



	Regards,
		Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group