Re: tsearch2: word position
- From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
- To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
- Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
- Subject: Re: tsearch2: word position
- Date: Thu, 22 Feb 2007 17:28:59 +0300
- Message-id: <45DDA8AB(dot)7010804(at)sigaev(dot)ru>
to_tsvector() could as well return the character number or a byte
pointer, I could see advantages for both. But the word number makes
little sense to me.
Word number is used only in ranking functions. If you don't need a ranking than
you could safely strip positional information.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/
Home |
Main Index |
Thread Index