search for: news_articles_controller

Displaying 1 result from an estimated 1 matches for "news_articles_controller".

2007 Jan 27
0
concurrency errors adding to a keyed index
...in `synchronize'' /usr/lib/ruby/gems/1.8/gems/ferret-0.10.14/lib/ferret/index.rb:384:in `[]'' #{RAILS_ROOT}/app/models/news_article_version.rb:35:in `ferret_search'' #{RAILS_ROOT}/app/models/news_article_version.rb:35:in `ferret_search'' #{RAILS_ROOT}/app/controllers/news_articles_controller.rb:56:in `search'' It seems to occur roughly once per batch, and usually towards the end of the batch. I''m not using aaf. I create my keyed index like this: @@ferret_index = Index::Index.new(:path => "#{RAILS_ROOT}/ferret_index/#{RAILS_ENV}/news_article_versions",...