Amit Langote
amitl****@gmail*****
2013年 10月 30日 (水) 12:46:54 JST
On Wed, Oct 30, 2013 at 12:43 PM, Amit Langote <amitl****@gmail*****> wrote: > Hi, > > Really sorry to bring this up at a very odd time, but, I noticed there > is no bigm_similarity_dist(). > If I remember correctly, we'd removed it since we could not add an > ORDERING operator to a gin_bigm_ops. > > Just wanted to know if we could still add bigm_similarity_dist() so > that we could do something like: > > SELECT * , bigm_similarity_dist(column, '<string-literal>') as d > FROM table > WHERE column =% '<string-literal>' > ORDER BY d ASC; > > In case it's a "yes", attached patch would do just that. Ah, this may just be noise. I checked our previous position on this. Sorry about that. -- Amit