Amit Langote
amitl****@gmail*****
2013年 10月 30日 (水) 12:43:20 JST
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. -- Amit -------------- next part -------------- $B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... $B%U%!%$%kL>(B: add-bigm_similarity_dist.patch $B7?(B: application/octet-stream $B%5%$%:(B: 1279 $B%P%$%H(B $B @ bL@(B: $BL5$7(B 下载