Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Teodor Sigaev wrote:
>> may be <=>? it isn't used anywhere yet.
>>
>> select 'fat'::tsquery <=> 'cat';
>> select 'fat <=> cat'::tsquery;
>> select 'fat <3> cat'::tsqyery; -- for non-default distance.
> Dunno. That looks pretty "relationalish".
The existing precedent in the geometric types is to use <->
as an operator denoting distance. Perhaps <-> amd <3>
would work here.
regards, tom lane