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: 2007-02-22 14:28:59
Message-ID: 45DDA8AB.7010804@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message brian 2007-02-22 14:37:54 Re: Checking for string data that makes sense Re: postgresql vs mysql
Previous Message Tim Tassonis 2007-02-22 14:22:08 Re: postgresql vs mysql