Redmineに全文検索エンジンGroongaサポートを追加する「Full Text Search」プラグインを紹介します。このプラグインを使えば数十万チケットがあるRedmineでも高速に目的の情報を見つけられます。高速になるという現状の話だけでなく、Redmine内のデータを有効活用するという今後の話もします。
Groongaで Redmineを 高速全文検索Powered by Rabbit 2.2.1
インストール:Mroonga
http://mroonga.org/ja/docs/install.html
パッケージで簡単インストール
対応プラットフォーム
Debian GNU/Linux, Ubuntu
CentOS Fedora
macOS
Windows
17.
Groongaで Redmineを 高速全文検索Powered by Rabbit 2.2.1
インストール:PGroonga
https://pgroonga.github.io/ja/install/
パッケージで簡単インストール
対応プラットフォーム
Debian GNU/Linux, Ubuntu
CentOS Fedora
macOS
Windows
18.
Groongaで Redmineを 高速全文検索Powered by Rabbit 2.2.1
設定:PGroonga
Redmine用のユーザーに
PGroongaを使う権限を付与
CREATE EXTENSION pgroonga;
GRANT USAGE ON pgroonga TO ユーザー名;
19.
Groongaで Redmineを 高速全文検索Powered by Rabbit 2.2.1
インストール:プラグイン
% cd redmine
% git clone
https://github.com/okkez/redmine_full_text_search.git
plugins/full_text_search
% bin/rake redmine:plugins RAILS_ENV=production
再起動で完了!
20.
Groongaで Redmineを 高速全文検索Powered by Rabbit 2.2.1
高度な検索1:AND/OR/NOT
キーワード単位でのAND/OR/NOT
従来:AND/ORのみ
従来:キーワード全体で切り替え
例:
(Groonga OR Mroonga) -PostgreSQL
GroongaまたはMroongaを含むが
PostgreSQLは含まない