Weitere ähnliche Inhalte Ähnlich wie Mroonga 20121129 (10) Mroonga 201211297. Snippetの利用例
mysql> select id, text, mroonga_snippet(text, 8, 2, 'ascii_general_ci', 1, 1, '...', '...<br>', 'fulltext', '<span
class="w1">', '</span>', 'MySQL', '<span class="w2">', '</span>', 'search', '<span calss="w3">', '</span>')
snippet from snippet_test where match(text) against ('fulltext')¥G
*************************** 1. row ***************************
id: 1
text: An open-source fulltext search engine and column store.
snippet: ...<span class="w1">fulltext</span>...<br>... <span calss="w3">search</span> ...<br>
*************************** 2. row ***************************
id: 2
text: An open-source storage engine for fast fulltext search with MySQL.
snippet: ...<span class="w1">fulltext</span>...<br>... <span calss="w3">search</span> ...<br>
*************************** 3. row ***************************
id: 3
text: Mroonga is a storage engine for MySQL that supports better fulltext search function with Groonga.
snippet: ...r <span class="w2">MySQL</span> ...<br>...<span class="w1">fulltext</span>...<br>
3 rows in set (0.02 sec)
10. その他
・ TINYINT、SMALLINT、MEDIUMINT、INT、
BIGINT型のUNSIGNEDサポート (storage mode)
・ ENUMの使用領域の最適化 (storage mode)
・ MySQL 5.6とMariaDBで使える小数点以下の秒をもつ
DATETIME、TIMESTAMPに対応
・ データベース名、テーブル名、カラム名が
任意の文字に対応
17. ご清聴ありがとうございました!
Any Questions?
You can see me later!
Come to visit me!!
Kentoku SHIBA (kentokushiba [at] gmail [dot] com)
http://spiderformysql.com