Defect #4381

Can not search for 2 letters word

Added by Fatima Mojaddidy almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:2009-12-11
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Search engine
Target version:0.9.1
Resolution:Fixed Affected version:0.9.0

Description

Hello we have been using Redmine for a couple of months now and just realized that if the subject has letters in uppercase, then doing a search with that word fails to show up in Redmine.

Any ideas why or if there's a fix/workaround?

This is very annoying.

Associated revisions

Revision 3306
Added by Jean-Philippe Lang almost 8 years ago

Fixed: can not search for 2 letters word (#4381).

History

#1 Updated by Fatima Mojaddidy almost 8 years ago

Upon further testing I believe its not the case of the letters but the number of letter put in the search box. Redmine will not search for two letter words.

#2 Updated by Jean-Philippe Lang almost 8 years ago

  • Subject changed from Redmine unable to search for upper case letters to Can not search for 2 letters word
  • Category set to Search engine
  • Priority changed from Normal to Low

Words shorter than 3 characters are excluded from search:
source:/trunk/app/controllers/search_controller.rb@3039#L65

#3 Updated by David Bachmann almost 8 years ago

+1

We use lot of 2 characters abbreviations and cannot search for them because of this limitation.
Would be great to decrease the excluded length to 1 char (or even remove this limitation).

#4 Updated by Fatima Mojaddidy almost 8 years ago

We are in the same situation as David, can't search for 2 characters abbreviated words.

#5 Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.1
  • Affected version (unused) set to 0.9.0
  • Resolution set to Fixed
  • Affected version set to 0.9.0

Fixed in r3306.

#6 Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from Resolved to Closed

Merged in 0.9-stable in r3317.

Also available in: Atom PDF