{"action":"created","issue":{"url":"https://api.github.com/repos/teamtnt/tntsearch/issues/147","repository_url":"https://api.github.com/repos/teamtnt/tntsearch","labels_url":"https://api.github.com/repos/teamtnt/tntsearch/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/teamtnt/tntsearch/issues/147/comments","events_url":"https://api.github.com/repos/teamtnt/tntsearch/issues/147/events","html_url":"https://github.com/teamtnt/tntsearch/issues/147","id":324098899,"number":147,"title":"japanese support","user":{"login":"amnek0","id":12832589,"avatar_url":"https://avatars1.githubusercontent.com/u/12832589?v=4","gravatar_id":"","url":"https://api.github.com/users/amnek0","html_url":"https://github.com/amnek0","followers_url":"https://api.github.com/users/amnek0/followers","following_url":"https://api.github.com/users/amnek0/following{/other_user}","gists_url":"https://api.github.com/users/amnek0/gists{/gist_id}","starred_url":"https://api.github.com/users/amnek0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amnek0/subscriptions","organizations_url":"https://api.github.com/users/amnek0/orgs","repos_url":"https://api.github.com/users/amnek0/repos","events_url":"https://api.github.com/users/amnek0/events{/privacy}","received_events_url":"https://api.github.com/users/amnek0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-17T16:32:58Z","updated_at":"2018-05-17T21:26:58Z","closed_at":null,"author_association":"NONE","body":"does it support Japanese? The index is easily created but a search returns nothing, and i'm sure \"あいたい\" is in the database.\r\n\r\n```\r\nrequire_once 'vendor/autoload.php';\r\n\r\nuse TeamTNT\\TNTSearch\\TNTSearch;\r\n\r\n$tnt = new TNTSearch;\r\n\r\n$tnt->loadConfig([\r\n    'driver'    => 'mysql',\r\n    'host'      => 'localhost',\r\n    'database'  => 'lovejp',\r\n    'username'  => 'neko',\r\n    'password'  => 'abc0987',\r\n    'storage'   => __DIR__.'/oyasumi/'\r\n]);\r\n\r\n$tnt->selectIndex('name.index');\r\n\r\n$res = $tnt->search('あいたい', 7);\r\n```\r\n\r\n```\r\nArray\r\n(\r\n    [ids] => Array\r\n        (\r\n        )\r\n\r\n    [hits] => 0\r\n    [execution_time] => 1.0719 ms\r\n)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/teamtnt/tntsearch/issues/comments/390017523","html_url":"https://github.com/teamtnt/tntsearch/issues/147#issuecomment-390017523","issue_url":"https://api.github.com/repos/teamtnt/tntsearch/issues/147","id":390017523,"user":{"login":"nticaric","id":824840,"avatar_url":"https://avatars2.githubusercontent.com/u/824840?v=4","gravatar_id":"","url":"https://api.github.com/users/nticaric","html_url":"https://github.com/nticaric","followers_url":"https://api.github.com/users/nticaric/followers","following_url":"https://api.github.com/users/nticaric/following{/other_user}","gists_url":"https://api.github.com/users/nticaric/gists{/gist_id}","starred_url":"https://api.github.com/users/nticaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nticaric/subscriptions","organizations_url":"https://api.github.com/users/nticaric/orgs","repos_url":"https://api.github.com/users/nticaric/repos","events_url":"https://api.github.com/users/nticaric/events{/privacy}","received_events_url":"https://api.github.com/users/nticaric/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T21:26:58Z","updated_at":"2018-05-17T21:26:58Z","author_association":"CONTRIBUTOR","body":"Thanks. It seems like the tokenizer doesn't break this into single words. I guess you could write a tokenizer that breaks the text correctly"}}
{"actor":{"display_login":"nticaric"}}