Displaying 1 result from an estimated 1 matches for "content_analyzer".
2006 Jun 13
1
Obtaining write lock when trying to write index error
...t; 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,
:create_if_missing => true)
end
I supposed that working with index this way would be okay (according
to http://ferret.davebalmain.com/trac/wiki/HowTos), but it looks like
i''v missed some kind of top-secret ferret config parameter maybe or
smth., so couldn...