How to store Ferret index in DB using acts_as_ferret?

Hello,

I would like Ferret index to be stored in DB ( instead of multiple
files )

It would allow me to centralize all datas in a unique media + backup my
index using a simple DB export.

Is there a way to do so ?

Thks

On 26.01.2007, at 18:49, Pierre-Yves Landanger wrote:

I would like Ferret index to be stored in DB ( instead of multiple
files )

Ferret is optimized for speed and therefore uses it’s own file
format. A database is not a suitable place to store a full text
index, mainly for performance reasons.

It would allow me to centralize all datas in a unique media +
backup my
index using a simple DB export.

I assume you use Ferret to index data which is stored in your
database anyway. It’s of little use to backup your Ferret index since
it can be rebuilt from the contents of your database. If you need to
restore your database from a backup just rebuild your index afterwards.

Cheers,
Andy

All right,

Thank you Andy ^^

  py

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs