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: 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:56:58 +0300
  • Message-id: <45DDAF3A(dot)4010708(at)sigaev(dot)ru>

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.

byte offset of word is useless for ranking purpose
--
Teodor Sigaev                                   E-mail: teodor(at)sigaev(dot)ru
                                                   WWW: http://www.sigaev.ru/



Home | Main Index | Thread Index

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