{"id":15508914,"url":"https://github.com/jkraemer/redmine_postgresql_search","last_synced_at":"2025-03-23T03:33:16.197Z","repository":{"id":66471293,"uuid":"42582621","full_name":"jkraemer/redmine_postgresql_search","owner":"jkraemer","description":"PostgreSQL full text search plugin for Redmine","archived":false,"fork":false,"pushed_at":"2020-01-22T16:57:04.000Z","size":39,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T17:24:38.494Z","etag":null,"topics":["postgresql","redmine","search"],"latest_commit_sha":null,"homepage":"http://redmine-search.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkraemer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-16T11:16:31.000Z","updated_at":"2023-07-31T18:30:06.000Z","dependencies_parsed_at":"2023-02-25T14:30:26.587Z","dependency_job_id":null,"html_url":"https://github.com/jkraemer/redmine_postgresql_search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkraemer%2Fredmine_postgresql_search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkraemer%2Fredmine_postgresql_search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkraemer%2Fredmine_postgresql_search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkraemer%2Fredmine_postgresql_search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkraemer","download_url":"https://codeload.github.com/jkraemer/redmine_postgresql_search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052661,"owners_count":20553162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","redmine","search"],"created_at":"2024-10-02T09:40:37.352Z","updated_at":"2025-03-23T03:33:15.935Z","avatar_url":"https://github.com/jkraemer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Redmine PostgreSQL Search [![Build Status](https://travis-ci.org/jkraemer/redmine_postgresql_search.svg?branch=master)](https://travis-ci.org/jkraemer/redmine_postgresql_search)\n=========================\n\nMakes Redmine search use PostgreSQL full text search instead of LIKE queries.\n\nhttp://redmine-search.com/\n\n\nInstallation\n------------\n\nFollow the generic [Redmine plugin installation\ninstructions](https://redmine.org/projects/redmine/wiki/Plugins), but with a\ntwist for Redmine installations with mostly non-english content:\n\n_Before_ running the plugin migrations, set the `language` environment variable\nto the language your Redmine content (mostly) is in. The `setup_tsearch`\nmigration uses this to create a matching [text search\nconfiguration](http://www.postgresql.org/docs/current/static/textsearch-intro.html#TEXTSEARCH-INTRO-CONFIGURATIONS)\nin your Redmine database.  This directly influences search results quality so\ndon't just skip this (unless your language would be english, this is the\ndefault used by the migration).\n\nTo find out which languages are supported by your PostgreSQL installation, run\n`\\dF` in a shell:\n\n    redmine=# \\dF\n                    List of text search configurations\n       Schema   |     Name     |              Description\n    ------------+--------------+---------------------------------------\n     pg_catalog | danish       | configuration for danish language\n     pg_catalog | dutch        | configuration for dutch language\n     pg_catalog | english      | configuration for english language\n     pg_catalog | finnish      | configuration for finnish language\n     pg_catalog | french       | configuration for french language\n     pg_catalog | german       | configuration for german language\n     pg_catalog | hungarian    | configuration for hungarian language\n     pg_catalog | italian      | configuration for italian language\n     pg_catalog | norwegian    | configuration for norwegian language\n     pg_catalog | portuguese   | configuration for portuguese language\n     pg_catalog | romanian     | configuration for romanian language\n     pg_catalog | russian      | configuration for russian language\n     pg_catalog | simple       | simple configuration\n     pg_catalog | spanish      | configuration for spanish language\n     pg_catalog | swedish      | configuration for swedish language\n     pg_catalog | turkish      | configuration for turkish language\n\nSo if your Redmine installation has mostly German text, you would run\n\n    language=german bundle exec rake redmine:plugins:migrate\n\nafter unpacking the plugin to `YOUR_REDMINE/plugins/redmine_postgresql_search`.\n\nAfter running the migrations, make sure to index all your existing content by running\n\n    bundle exec rake redmine_postgresql_search:rebuild_index\n\n\nIn case you want to learn more about the internals of PostgreSQL full text\nsearch - I found these two articles quite helpful:\n\n- http://shisaa.jp/postset/postgresql-full-text-search-part-2.html\n- http://linuxgazette.net/164/sephton.html\n\n### unaccent extension\n\nThe `setup_tsearch` migration attempts to install the _unaccent_ PostgreSQL\nextension, which may fail due to insufficient privileges of your application's\ndatabase user. To get around this, set up the extension manually (`create\nextension unaccent`) using a privileged user account and re-run the plugin\nmigrations. On Ubuntu/Debian this extension is part of the `postgresql-contrib`\npackage.\n\nKnown Issues\n------------\n\nPlease report any issues not mentioned here [on\nGithub](https://github.com/jkraemer/redmine_postgresql_search/issues).\n\n\n### Result Completeness\n\nSearch on custom fields and journal entries is done separately from search in\nissues - therefore a search for all words of the query `foo bar` will not find\nissues with `foo` in the description and `bar` in a journal entry or custom\nfield.  The reason is the way Redmine search works on a fundamental level.  To\nmake things a little better this plugin indexes the issue's subject along with\neach journal, so if you have `foo` in the subject and `bar` in a journal entry\nyou will find the issue.\n\n\n\nLicense\n-------\n\nCopyright (C) 2015 [Jens Krämer](https://jkraemer.net)\n\nThe Postgresql Search plugin for Redmine is free software: you can redistribute\nit and/or modify it under the terms of the GNU General Public License as\npublished by the Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThe Postgresql Search plugin for Redmine is distributed in the hope that it\nwill be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General\nPublic License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthe plugin. If not, see [www.gnu.org/licenses](http://www.gnu.org/licenses/).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkraemer%2Fredmine_postgresql_search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkraemer%2Fredmine_postgresql_search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkraemer%2Fredmine_postgresql_search/lists"}