Re: [PATCH] Phrase search ported to 9.6

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Dmitry Ivanov <d(dot)ivanov(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org, Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, a(dot)korotkov(at)postgrespro(dot)ru, David Steele <david(at)pgmasters(dot)net>
Subject: Re: [PATCH] Phrase search ported to 9.6
Date: 2016-03-31 18:14:38
Message-ID: 20160331181438.GA129524@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

What led you to choose the ? operator for the FOLLOWED BY semantics?
It doesn't seem a terribly natural choice -- most other things seems to
use ? as some sort of wildcard. What about something like "...", so you
would do
SELECT q @@ to_tsquery('fatal ... error');
and
SELECT q @@ (tsquery 'fatal' ... tsquery 'error');

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2016-03-31 18:47:44 Re: improving GROUP BY estimation
Previous Message Dmitry Ivanov 2016-03-31 18:04:09 Re: [PATCH] Phrase search ported to 9.6