Comments (6)
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.
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.
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.
from pgroonga.github.io.
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.
I think it's same with this issue
pgroonga/pgroonga#130
But i have no idea with TokenMecab tokenizer
from pgroonga.github.io.
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)
- Remove prefix search from auto complete document
- how to set up chinese tokenizer ? HOT 1
- How to use pgroonga for the arabic dictionary? HOT 3
- "How to implement auto complete feature" doesn't provide SELECT to be used HOT 1
- Cannot install groonga-tokenizer-mecab on CentOS8 HOT 1
- Re: Cannot install groonga-tokenizer-mecab on CentOS8 HOT 2
- PGroongaのディレクトリについて HOT 1
- Update based PostgreSQL version on streaming replication document HOT 1
- doc: リリース手順を最新にする HOT 1
- doc: add description about tokenizer
- install: AlmaLinux 9 is missing
- Feature Request: Add Copy Button for Code Highlight Section
- Invalid link on windows installation page. HOT 1
- Invalid link on windows installation page HOT 1
- Failed to reinstall groonga with mecab on macOS ( Apple M1 Max ) HOT 1
- PGroonga の発音表記は間違っていると思いますが。 HOT 1
- Translation rake task generated differences in `.po` files
- Add reference for pgroonga_condition() function HOT 1
- pgroonga.enable_wal documenation has a dead link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgroonga.github.io.