On Mon, Jul 03, 2006 at 04:42:30PM +0200, Guest wrote: > I have ferret setup in my model with multiple fields, but when I do a > search on the value that might be stored in two fields, I get no > results. > > Here's an example: > > "Jim 12333" > > Where Jim is a name field, and 12333 is a zip code. I have this in my > model: > > acts_as_ferret :fields => [ 'name', 'zip' ] > > I'm not sure what's up. Any help is appreciated. > > If I just search for Jim, or just 12333 it comes up. Is there a way to > search like this?
query terms are ANDed by default in acts_as_ferret. Does "Jim OR 12333" work ? Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

