Search Postgresql Archives

tsearch2 punctuation question

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

 



For example:


select to_tsvector('cat,dog apple/orange');

           to_tsvector
----------------------------------
'cat':1 'dog':2 'apple/orange':3
(1 row)


Is there a setting that allows me to specify that strings containing the '/' should be parsed into separate words? As is, I can't find 'apple' or 'orange'.

Thanks,

John




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



[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