barzerman / barzer

barzer engine code
MIT License
2 stars 0 forks source link

lowercased tokens (with case different from same word in pattern) aren't being matched #567

Closed bodritto closed 11 years ago

bodritto commented 11 years ago

RULE: http://eu.barzer.net/profile?rule_id=280548

запросы типа "пылесос lg с контейнером" "пылесос igloo с контейнером"

Оставляют незаматченным токен брэнда. При этом брэнд, написанный апперкейсом, матчится.

0xd34df00d commented 11 years ago

Матчинг в барзере или бени?

barzerman commented 11 years ago

barzer

On Wed, May 29, 2013 at 10:39 PM, Georg Rudoy notifications@github.comwrote:

Матчинг в барзере или бени?

— Reply to this email directly or view it on GitHubhttps://github.com/barzerman/barzer/issues/567#issuecomment-18637164 .

www.barzer.net

barzerman commented 11 years ago

the problem is linked to StoredUniverse::internString , which currently interns and adds both lowercased and case sensitive versions of the word

barzerman commented 11 years ago

fix is coming

barzerman commented 11 years ago

found another bug - upper case Ё decased as ё

barzerman commented 11 years ago

done spring cleaning