Re: tsearch2: word position

From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: tsearch2: word position
Date: 2007-02-22 14:48:17
Message-ID: 45DDAD31.5000901@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Teodor Sigaev wrote:
> Word number is used only in ranking functions. If you don't need a
> ranking than you could safely strip positional information.

Huh? I explicitly *want* positional information. But I find the word
number to be less useful than a character number or a simple (byte)
pointer to the position of the word in the string.

Given only the word number, I have to go and parse the string again.

Regards

Markus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-02-22 14:53:26 Re: postgresql vs mysql
Previous Message brian 2007-02-22 14:37:54 Re: Checking for string data that makes sense Re: postgresql vs mysql