Re: knngist - 0.8 - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: knngist - 0.8
Date
Msg-id 4C6074B3.7020307@timbira.com
Whole thread Raw
In response to Re: knngist - 0.8  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: knngist - 0.8
Re: knngist - 0.8
List pgsql-hackers
Alexander Korotkov escreveu:
> Such approach
> can give benefit when we need to filter by similarity. For example, in
> pg_trgm "%" is used for similarity filtering, but similarity threshold
> is global for session. That's why we can't create complex queries which
> contain similarity filtering with different threshold.
> 
What do you mean by complex queries? You can always use the SET command. Sadly
it doesn't work when you have different thresholds within distinct subqueries.(In pg_similarity I use this approach to
setthe function's thresholds). What
 
I am investigating is a way to build an index with some user-defined
parameters. (We already have some infra-structure in reloptions for that but
it needs some work to support my idea). I have some half-baked patch that I'm
planning to submit to some of the CFs. Unfortunately, I don't have time for itATM.


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Synchronous replication
Next
From: Bruce Momjian
Date:
Subject: Re: patch: to_string, to_array functions