tsearch2 punctuation question

From: John DeSoi <desoi(at)pgedit(dot)com>
To: "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: tsearch2 punctuation question
Date: 2007-04-26 12:03:24
Message-ID: 6658D64C-3FC9-4C55-A088-D3230A18CA01@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2007-04-26 12:32:11 Re: [GENERAL] pg_buffercache view
Previous Message Richard Huxton 2007-04-26 11:53:56 Re: Fw: PostgreSQL Performance Tuning