Search Postgresql Archives

Re: tsearch2: word position

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
                                                   WWW: http://www.sigaev.ru/


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux