Project

General

Profile

Actions

Defect #6551

open

Highlighting in search results is case sensitive for cyrillic pattern

Added by Alexey Ivlev about 14 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Search engine
Target version:
-
Start date:
2010-10-01
Due date:
% Done:

50%

Estimated time:
Resolution:
Affected version:

Description

I am sorry for my persistence, I have published the same problem on forum, but still have no response from there...

When I search any pattern in english everything works fine - highlighting in search results is case insensitive. If I try to search pattern in russian I have case insensitive search output, but highlighting my pattern in that results is case sensitive.

For example, if I try to search "ам" (all in lowercase) pattern I will see the next:

all lowercase symbols - all letter in search output are lowercase and highlighting work fine

one uppercase symbol - but if it is one letter or more is uppercase, highlighting doesn't appear.

In source code of search results page this tag <span class="highlight token-0">ам</span> exist for first image and does not exists for the second.

I use MySQL 5.1.41 database with utf8_general_ci encoding and apache + passenger on Ubuntu 10.04, rails-2.3.5, ruby 1.8.6. Please help me to remove this little issue. Thanks!


Files

with_highlighting.png (550 Bytes) with_highlighting.png all lowercase symbols Alexey Ivlev, 2010-10-01 09:57
without_highlighting.png (623 Bytes) without_highlighting.png one uppercase symbol Alexey Ivlev, 2010-10-01 09:57

Related issues

Related to Redmine - Defect #10134: Case insensitive search is not working with postgres 8.4 and umlautsConfirmed

Actions
Blocked by Redmine - Feature #4050: Ruby 1.9 supportClosed2009-10-18

Actions
Actions

Also available in: Atom PDF