On 10/10/06, Lutz Horn <[EMAIL PROTECTED]> wrote:
> How can I index and search RoR model objects in a case insensitive
> manner? In Ferret there is the LowerCaseFilter
> (http://ferret.davebalmain.com/api/classes/Ferret/Analysis/LowerCaseFilter.html).
> How can I utilize it and other filters with acts_as_ferret?
>

The LowercaseFilter is used by default so you don't need to worry
about it. If you need to build your own analyzer you can specify it as
one of the ferret_options to acts_as_ferret. See the documentation
here:

http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000006

To build your own analyzer see the documentation for
Ferret::Analysis::Analyzer. Look here:

http://ferret.davebalmain.com/api/

cheers,
Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to