GithubHelp home page GithubHelp logo

Comments (6)

komainu8 avatar komainu8 commented on September 26, 2024

Thank you for your report.
However, I could not reproduce this problem in my environment.

create table contents ( id integer, content varchar );

CREATE INDEX test_index ON contents USING pgroonga (content pgroonga_varchar_full_text_search_ops_v2) WITH (tokenizer='TokenMecab');

insert into contents values (1, 'Test me please');

select * from contents;
 id |    content     
----+----------------
  1 | Test me please
(1 row)

SELECT content FROM contents where content &@ 'T';
    content     
----------------
 Test me please
(1 row)

Could you provide SQL to reproduce this case from scratch?
And could you teach me your PostgreSQL and PGroonga version?

from pgroonga.github.io.

 avatar commented on September 26, 2024

Thank you for your reply @komainu8
I'm using
PGroonga 2.2.5
Groonga 10.0.2
MeCab 0.996 + IPADIC 2.7.0-20070801
PostgreSQL 9.6 / Alpine Linux

from pgroonga.github.io.

 avatar commented on September 26, 2024

Seemlikes it's just occured when have more data.

Here is my full informations:

CREATE TABLE test_users (
    id BIGSERIAL PRIMARY KEY,
    display_name character varying(191)
);

index:

CREATE INDEX test_user_index ON test_users USING pgroonga (display_name pgroonga_varchar_full_text_search_ops_v2) WITH (tokenizer='TokenMecab');

data


id | display_name
-- | --
98 | HetGaHetSo
97 | usernamedainhatthegioiusernamedainhatthegioiusernamedainhatthegioiusernamedainhatthegioiusernamedain
96 | usernameTestHi
95 | abcd
94 | Ngan normal user
93 | a1a
92 | 1a
91 | aa
90 | aa
89 | ac
88 | ab
87 | Aa
86 | New
85 | あア
84 | ああ
83 | あか
82 | cuonga
81 | あキ
80 | あ
79 | Abc test
78 | Taka Admin user
77 | Taka normal user
76 | アカク
75 | アノス
74 | アスシ
73 | あ あむ
72 | あ アム
71 | THÁI_ĐẸP_TROAI_XUYÊN_LỤC_ĐỊA
70 | HÙNG_XÊNH_ĐẸP_CẤM_SỜ
69 | LONG_BÊ_ĐÊ
68 | TRANG_CHO_DIEN
67 | あ かつ
66 | あ カカ
65 | DUNG_HA_ADMIN
64 | CUONG NORMAL
63 | Chinh admin
62 | CUONG_ADMIN_DO_NOT_TOUCH
61 | abcd
60 | AAA
59 | ADSzfxgchvjb
58 | wefzsdrxfcghv
57 | CADMIN
56 | CNORMAL
55 | hand12
54 | hand1
53 | 100characters100characters100characters100characters100characters100characters100characters100charac
52 | c
51 | account_thai_test_1
50 | sjhjkahsfkj
49 | há há
48 | userName
47 | test
46 | fwfwfwf
45 | casascascas
44 | vvavdav
43 | asdasd
42 | ChinhTest
41 | Account11111
40 | Account333
39 | mottrammottrammottrammottrammottrammottrammottrammottrammottrammottrammottrammottrammottrammottrammo
38 | abc
37 | 姓姓姓姓姓
36 | ngan ngan
35 | 1
34 | Account12
33 | Account1
32 | Account5
31 | Accounttest
30 | account_name_thai_1
29 | Account
28 | Tien12345
27 | Tien1234
26 | Tien123
25 | wafesdfxg
24 | awesrdfgcwafes
23 | WFEG
22 | WFSDXGC
21 | awefsrfg
20 | fwaesrfe
19 | fdfwfea
18 | fwaesrf
17 | wefsrgvqwe
16 | awesr
15 | awesrdfg
14 | wefrdff
12 | AFESRFGC
11 | wafesrgd
4 | account1
3 | r_tanshor_tansho
2 | yukayuka1
1 | admin1admin1

Query::

select display_name FROM test_users where display_name &@ 'H';

I expect first row with data 98 | HetGaHetSo will be displayed.

Screen Shot 2020-05-12 at 3 31 42 PM

from pgroonga.github.io.

 avatar commented on September 26, 2024

It's really an urgent issue for me.
Hope that you can check it for me soon.
Really thank you so much!

from pgroonga.github.io.

 avatar commented on September 26, 2024

I think it's same with this issue
pgroonga/pgroonga#130
But i have no idea with TokenMecab tokenizer

from pgroonga.github.io.

kou avatar kou commented on September 26, 2024

This repository is for the PGroonga website not PGroonga itself.
Please use https://github.com/pgroonga/pgroonga instead.

from pgroonga.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.