tsearch (or related) question

From: Satoshi Nagayasu <satoshi(dot)nagayasu(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: tsearch (or related) question
Date: 2011-01-14 14:38:18
Message-ID: 4D305FDA.2000604@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I'm looking for some tricky way for tsearch query.

Now, I know when a tsvector column has an array ('a', 'b', 'c'),
tsquery ('a&c') hits the row.

But I want to search rows with considering the order of tsvector
elements.

I want to hit a row when I use 'a&b' or 'b&c' in a tsquery,
but not 'a&c'.

Is this possible?

Regards,
--
NAGAYASU Satoshi <satoshi(dot)nagayasu(at)gmail(dot)com>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jon Smark 2011-01-14 15:03:19 Re: Record with a field consisting of table rows
Previous Message Alfonso Ardila Toro 2011-01-14 14:36:50 Re: Para participantes extranjeros en el Tercer PGDay Latinoamericano.