Mattias Bud wrote:
> Jens Kraemer wrote:
>> On Fri, Jun 08, 2007 at 01:41:34PM +0200, Mattias Bud wrote:
>>>
>>> No - local index.
>>
>> is this in development mode with 1 mongrel instance? if yes, make sure
>> your Mongrel doesn't do index updates while you run rebuild_index from
>> the console. Even better, run these tests without mongrel running, or in
>> another RAILS_ENV.
>>
>> With multiple mongrels, use the DRb server.
>>
>> Jens
>
> I turned of mongrel and rebuilt - and it worked.
>
> Thanks for the help
When moving this to the production server it fails again. Here i have
the same vesion of the gem and plug-in. The server runs lighttpd and
fast-cgi. i can't re-index this class if it has :index => :no. if I
remove this from the :fields it works again.
Looks like this
acts_as_ferret({:store_class_name => true,
:fields => { :title => {},
:date_comment_index => {:index => :no}
}
}, { :analyzer =>
Ferret::Analysis::StandardAnalyzer.new([]) })
As I said, if i remove :index => :no it works.
Is the solution to change to DRb?
mattias
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk