On Thu, Aug 23, 2007 at 07:33:28PM -0500, John Aughey wrote:
> In QueryParser you can specify a :fields => [allyourfieldsyouwanttoquery]
> option to choose which fields you want to be searchable.  I believe this is
> what you want to do.
> 
> John
> 
> On 8/23/07, Otmar Tschendel <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i like to index most of my model fields, but limit the search only to a
> > (changing) subset of this fields.

you can also specify a list of fields in your queries:

field1|field2|anotherfield:query_string

Jens

-- 
Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/     - The new free film database
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to