プロジェクト

全般

プロフィール

Vote #71290

未完了

Case insensitive search is not working with postgres 8.4 and umlauts

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Confirmed
優先度:
通常
担当者:
-
カテゴリ:
Search engine_16
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
16
version_id:
0
issue_org_id:
10134
author_id:
47792
assigned_to_id:
0
comments:
5
status_id:
9
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
36
ステータス-->[Confirmed]

説明

We are using Redmine 1.3.0 with postgres 8.4 on GNU/Linux:

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /var/lib/redmine
Environment production
Database adapter postgresql
Database schema version 20110902000000

About your Redmine plugins

HTTP Authentication plugin 0.3.0-dev

Postgres database collation is UTF-8.

When I create a new issue, for example titled "Ämber", and try to search for it it is only found when I search for it in lower case "ämber".
It looks as if mysql is not affected, since in redmine demo environment I cannot replicate this problem: http://demo.redmine.org/search?q=%C3%84mma&scope=all&all_words=&all_words=1&titles_only=&issues=1&submit=Submit

I have found a fix for it though: http://www.redmine.org/issues/1608
After modifying the relevant file and installing the unicode gem the problem is solved.


journals

Closed as duplicate of #6551.

I guess that demo site is running with Ruby 1.9?
--------------------------------------------------------------------------------
#6551 is about search highlighting. My problem is that when searching for "Ämber" no search results are returned at all.
--------------------------------------------------------------------------------
Sorry; you're right there is an issue here I can reproduce with Ruby 1.8.7 although I think it should be gone with 1.9 (need to be tested with trunk). Ruby 1.8.7 downcases "Ämber" to "Ämber" instead of "ämber", so PG doesn't find it.

--------------------------------------------------------------------------------
this works with 3.1-stable, Ruby 2.2.2 / PostgreSQL 9.4
--------------------------------------------------------------------------------
I confirm this bug
<pre>
Environment:
Redmine version 3.4.3.stable
Ruby version 2.4.4-p296 (2018-03-28) [x64-mingw32]
Rails version 4.2.8
Database adapter SQLServer (2012)
</pre>

--------------------------------------------------------------------------------


related_issues

relates,New,6551,Highlighting in search results is case sensitive for cyrillic pattern
blocks,Closed,4050,Ruby 1.9 support

Admin Redmine さんが約2年前に更新

  • カテゴリSearch engine_16 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0