On Mon, Oct 09, 2006 at 03:38:52AM +0200, anrake wrote:
> The first time I tried to run a multi_search, I got an error and 
> discovered there were no indexes for any of the models. index > model 
> folders were there but no actual indexes. I couldn't figure out how to 
> get it to create indexes so I edited a record for each model which 
> created all the indexes. Then when I ran the search, everything worked 
> well.

calling Model.find_by_contents('some query') on each model would have
been sufficient, this method does rebuild the index if it doesn't exist
yet. 

> Is there a bug related to this somewhere or anyway to better force index 
> creation when none exists.  I'm running the newest version (but not 
> trunk) of each Ferret and acts_as_ferret

This is a known issue (there's a #todo in the code somewhere...). I
opened up a ticket for this one. Hope to get it fixed soon ;-)


cheers,
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

Reply via email to