Forum: Ferret case sensitivity for untokenized fields

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ad68180beef0a583cd6c438de0fd4738?d=identicon&s=25 Yaxm Yaxm (yaxm)
on 2007-05-08 11:14
Hi, I have a address model.

I make the city and the state field untokenized.  It looks like Ferret
doesn't perform downcasing for these fields in the index.

so the search can't be done case-insensitively.

how do I solve this problem?

Downcase the indexed terms as well as the search value?

Is there a simpler solution?

Thanks.
Yaxm
This topic is locked and can not be replied to.