[Pgbigm-hackers] pg_bigm regression test with pg_trgm

Back to archive index

Fujii Masao masao****@gmail*****
2013年 10月 2日 (水) 23:44:05 JST


On Tue, Oct 1, 2013 at 8:55 PM, Beena Emerson <memis****@gmail*****> wrote:
> On Mon, Sep 30, 2013 at 10:29 PM, Fujii Masao <masao****@gmail*****> wrote:
>>
>> Hmm... I was not able to reproduce this problem. I renamed cnt_bigm_sml to
>> cnt_sml in the patch you had submitted, applied it to HEAD of pg_bigm, and
>> executed similarity('wow', 'wow'). Its result was 1.
>
>
> Even I tried after changing cnt_bigm_cml to cnt_sml in my patch but I got
> wrong result:
>
> test_db=# CREATE EXTENSION pg_trgm ;
> CREATE EXTENSION
> test_db=# CREATE EXTENSION pg_bigm;
> CREATE EXTENSION
> test_db=# SELECT similarity('wow','wow');
>  similarity
> ------------
>           0
> (1 row)
>
> I wonder if I am doing something wrong. I will look into this again and let
> you know soon.

I did something wrong. I could reproduce the problem.... :(

Regards,

-- 
Fujii Masao




Pgbigm-hackers メーリングリストの案内
Back to archive index