On Wed, May 24, 2006 at 09:57:13AM +0200, Marcus Andersson wrote:
> I have a Rails application where I need to search. Every time an update 
> happens to something I need to update the index for the changed and 
> related document. As I currently have to run on Windows (and therefore 
> can't use the native extension) it is quite slow to index sometimes and 
> the user have to wait a couple of seconds for the save operation to 
> return.
> 
> A thought is to put this outside the Rails application in an external 
> service that is called through Drb. Is it possible to index with one 
> application and use the index with another at the same time?

as long as only one process is writing to the index that's fine. But you
have to reopen searchers to see the changes done to the index.

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