Re: tsearch2: word position

Поиск
Список
Период
Сортировка
От Markus Schiltknecht
Тема Re: tsearch2: word position
Дата
Msg-id 45DDAD31.5000901@bluegap.ch
обсуждение исходный текст
Ответ на Re: tsearch2: word position  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: tsearch2: word position  (Teodor Sigaev <teodor@sigaev.ru>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: brian
Дата:
Сообщение: Re: Checking for string data that makes sense Re: postgresql vs mysql
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: postgresql vs mysql