On Nov 6, 2007, at 11:35 AM, Jens Kraemer wrote:

> On Tue, Nov 06, 2007 at 11:25:56AM -0500, Noah M. Daniels wrote:
>>
> Placing it at the end of acts_as_ferret's init.rb should work.




Unfortunately, it doesn't seem to. For a local index, I can just put  
this anywhere in code (even in a controller, or in the console) and I  
start getting correct results from my query:

Ferret::Search::MultiTermQuery.default_max_terms = 5000

but on my staging server, where a drb ferret server is used, putting  
that line in the init.rb doesn't seem to do anything -- in fact, even  
putting it into the initialize method of the LocalIndex class doesn't  
help! Any ideas?

thanks!


_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to