![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi: I am setting up a full text search in postgresql and I expect some data to look like 8746-4756 or like 876.3456. This is what the ts vectors look like for the first sting: SELECT to_tsvector('0594-4532'); Results: '-4532':2 '0594': So postgresql treats this character string like a unsigned and signed int: In the second case, postgresql does not recognize the dot as a delimiter... SELECT to_tsvector('876.3456'); Results: '876.3456':1 I would really like to treat both the dot and the dash as delimiters. Can this be configured...Any ideas?? Thanks in advance kwill |
![]() |
| Thread Tools | |
| Display Modes | |
| |