Fields

Sorry for asking so many questions recently.

Just wondered. I originally had acts_as_ferret in my model and I
performed a few searches. I then decided to change this line to
acts_as_ferret :fields => [ â??nameâ?? ]

However when I perform searches it is still listing results with queries
contained in fields other than the ‘name’ field. How do i fix this?

Run Model.rebuild_index

Cuong T. wrote:

Run Model.rebuild_index

How do I initiate this command? More info please or just a link to where
it tells you this stuff.

On 9/5/06, Richard [email protected] wrote:

Cuong T. wrote:

Run Model.rebuild_index

How do I initiate this command? More info please or just a link to where
it tells you this stuff.

Hi Richard,

You could have an action that calls the command. Or you could call it
from the console. I hope that helps. This is more of a Rails question
than a Ferret question.

Cheers,
Dave

David B. wrote:

On 9/5/06, Richard [email protected] wrote:

Cuong T. wrote:

Run Model.rebuild_index

How do I initiate this command? More info please or just a link to where
it tells you this stuff.

Hi Richard,

You could have an action that calls the command. Or you could call it
from the console. I hope that helps. This is more of a Rails question
than a Ferret question.

Cheers,
Dave

Thanks Dave and Cuong what you said worked perfectly.