tokyo dystopia 使ってみた。

http://1978th.net/tokyodystopia/spex.html#tcqdbapi

qgramで40万レコードを入れてみました。 id + 文字列(100文字以内の日本語タイトル的なもの)
$ /usr/local/bin/tcqmgr inform /home/data/itemIndex
path: /home/data/itemIndex
database type: qgram
inode number: 6754296
modified time: 2010-06-05T21:01:20+09:00
options:
token number: 229823
file size: 132282880

ファイルサイズは 130M

$ /usr/local/bin/tcqmgr search -ph /home/data/itemIndex DELL
hits: 49
time: 0.012566

1037246
1040312
1069149
1069162
1072779
1077409
1092249
1112770
1126030
1126362

検索結果もこんな感じで time: 0.012566 と超満足できる結果です。
お手軽検索に持って来いですね!お勧めです。
数百万件まで増やしてまたメモします。

This entry was posted on 土曜日, 6月 5th, 2010 at 9:14 PM and is filed under Tokyo Cabinet. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。