redmine_didyoumean

A Redmine plugin to search for possible duplicates when users are about to open new issues.

Github星跟踪图

= Did You Mean Plugin

A Redmine plugin to search for possible duplicates when users are about to open new issues.
You can find more information on the project wiki: https://github.com/abahgat/redmine_didyoumean/wiki

== Install

  1. Follow the Redmine plugin installation steps at: http://www.redmine.org/wiki/redmine/Plugins
  2. Make sure the plugin installation directory name is redmine_didyoumean
  3. Restart the server (this will ensure that the CSS file and other assets are copied to the right place)
  4. (optional) Configure the plugin by navigating to Administration > Plugins and select the Configure label on the line for Did You Mean?

== Searching engines
By default plugin use SQL Engine, but there is available SphinxSearch Engine.

[1. Before you switch to Thinking Sphinx you should make sure that SphinxSearch engine was installed]
for Debian/Ubuntu users

  • sudo apt-get install sphinxsearch
  • Plugin use Thinking Sphinx v3.1.1 and Sphinx should be v2.2.4 or newer.
  • Thinking Sphinx will be installed with bundle commend (was definded in Gemfile)

for RedHat/CentOS users

  • curl -L -o sphinx-2.2.6-1.rhel7.x86_64.rpm http://sphinxsearch.com/files/sphinx-2.2.6-1.rhel7.x86_64.rpm
  • sudo yum install ./sphinx-2.2.6-1.rhel7.x86_64.rpm
  • sudo chkconfig searchd on
  • Plugin use Thinking Sphinx v3.1.1 and Sphinx should be v2.2.4 or newer.
  • Thinking Sphinx will be installed with bundle commend (was definded in Gemfile)

[2. If everything was successfully installed then in your console run(in main Redmine catalog):]

  • bundle exec rake ts:index (index your data)
  • bundle exec rake ts:start
  • Choose search method : Administration -> Plugins -> Redmine Did You Mean? -> select Thinking Sphinx Engine.
  • Now possibly duplicated subject's will be searching by Sphinx.
    [3. If you want stop searching by SphinxSearch Engine in your console run:]
  • bundle exec rake ts:stop
  • Switch method in plugin configuration.

=== Difference between search engines
The main advantage of SphinxSearch is the fact that if you set many words to searching, this gives you results faster then SQL Engine.

* SQL Engine:
Takes words 1:1 if you match 'GUI Changes' this will be looking for "GUI" "Changes".

* Thinking Sphinx Engine:
Firstly search for words 1:1 after this substract last character ex. like: "Running"

  • Firstly "Running"
  • "Runner"
  • etc.

== License

This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.

== Project help

If you need help you can contact the maintainers on the project page on GitHub (https://github.com/abahgat/redmine_didyoumean). If you want to report bugs, please open a new issue here: https://github.com/abahgat/redmine_didyoumean/issues

Please search for duplicates first :P

概览

名称与所有者abahgat/redmine_didyoumean
主编程语言Ruby
编程语言Shell (语言数: 5)
平台
许可证Other
发布数3
最新版本名称1.2.0 (发布于 2012-12-13 22:01:39)
第一版名称1.0.0 (发布于 2012-02-16 15:12:11)
创建于2012-01-16 18:10:35
推送于2023-03-31 14:09:02
最后一次提交2020-05-27 07:12:52
星数66
关注者数18
派生数47
提交数137
已启用问题?
问题数53
打开的问题数17
拉请求数30
打开的拉请求数6
关闭的拉请求数16
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部