Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.31 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.31 KB

Full text search plugin

This plugin provides following features:

  • Full text search to Redmine.
  • Display similar issues on a issue page

Supported databases

  • PostgreSQL with Pgroonga 2.0.0 or later
  • MySQL(MariaDB) with Mroonga 7.05 or later

How to use

Install PGroonga or Mroonga

See PGroonga document

See Mroonga document

Install this plugin

$ cd redmine/plugins
$ git clone https://github.com/okkez/redmine_full_text_search.git full_text_search

Set up this plugin

$ cd redmine
$ ./bin/rake redmine:plugins:migrate RAILS_ENV=production

And restart Redmine.

NOTE for PGroonga:

If you use normal user for Redmine. You must run following query as super user before run ./bin/rake redmine:plugins:migrate RAILS_ENV=production:

  1. CREATE EXTENSION IF NOT EXISTS pgroonga;
  2. GRANT USAGE ON SCHEMA pgroonga TO <user>;

See https://pgroonga.github.io/reference/grant-usage-on-schema-pgroonga.html

Contributing

  1. Fork it ( http://github.com/okkez/redmine_full_text_search/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request