On Tue, May 22, 2007 at 07:11:50PM +0200, Mike Dershowitz wrote:
> Ok, well, thanks for that information.  So, I added the rebuild index to 
> delete method for a goal, and now I get an error when I try and create a 
> goal - the same error!  What's the proper way to deal with ferret when I 
> delete or create records - so far it's not been very helpful at all when 
> the index changes.

You got me wrong here - you definitely should not rebuild the index
every time a goal is deleted.

> I also tried to execute an index rebuild from my command line and that 
> didn't make any change.  Do I need to stop/start the server?

Is this on your development machine or in a production setup?
Usually there is no need to call rebuild_index manually in development
mode, just stop the server, delete the index directory and start the
server again.

In production mode, use the DRb server and use rebuild_index via the
rails console if needed. 

If this still doesn't work out we would need some more information
(logs) to see what's going on.

Jens


-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to