search for: to_ferret_document

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

2006 Jun 13
1
Obtaining write lock when trying to write index error
...ts to spawned fcgi processes, I see this: : Error occured at :703 Error: exception 6 not handled: Could not obtain write lock when trying to write index The same time everything goes ok with webrick. Indexing part for the model is as simple as def index index = get_index index << to_ferret_document # [RAILS_ROOT]/lib/searchable_model.rb:5:in `<<'' index.flush index.optimize index.close end def get_index Ferret::Index::Index.new(:path => APP::CONFIG[:store_indexes_directory], :analyzer => FerretConfig::CONTENT_ANALYZER,...