Is it possible to work without DRB

Hi,
I am looking for solution to work with ferret without DRB. I would like
to turn off ferret indexing from application and use existing ferret
index only for searching (read only), while I would create indexes once
a day from script. Is it possible and how to turn indexing off and would
ferret still complain if 2 mongrels try to open index file.

thanks,
Bojan

Hey …

are you talking about ferret, or acts_as_ferret?

its no problem with ferret, with acts_as_ferret, there is a flag on
your model, see

Model.enable_ferret and Model.disable_ferret

Not sure if you can still search, but i guess that might be possible,
as this might only disable the after_save hooks … give it a try :slight_smile:

Ben

Benjamin K. wrote:

Hey …

are you talking about ferret, or acts_as_ferret?

its no problem with ferret, with acts_as_ferret, there is a flag on
your model, see

Model.enable_ferret and Model.disable_ferret

Not sure if you can still search, but i guess that might be possible,
as this might only disable the after_save hooks … give it a try :slight_smile:

Ben

Hi Benjamin,
I was thinking about disabling ferret from acts_as_ferret. It does help
to Model.disable_ferret (in environment.rb if anyone is interested) and
it is possible to search. Thank you!

Bojan