简体   繁体   English

act_as_ferret中区分大小写的问题

[英]problem with case sensitivity in acts_as_ferret

I have a problem with case sensitivity - basically, searches only work when they are lowercase: even when it looks like the text stored in the index is uppercase. 我有一个区分大小写的问题-基本上,搜索仅在小写时才起作用:即使看起来存储在索引中的文本是大写也是如此。

How to deal with this, thanks! 怎么处理,谢谢!

使用String的小写方法?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM