I am having some great trouble keeping my Ferret indexer for
First the get_field_names disappears (now back), then I am collectig
some major trouble with locking. Same thing here:
exception 6 not handled: Could not obtain write lock when trying to
A snippet like this just deadlocks retrying endlessly:
@ferret_index << doc
rescue Exception => e # No, he couldn’t define a proper class for this
if e.to_s.include?(‘Could not obtain write lock’)
reopen_index # opens the index again!
How are we supposed to handle concurrency with a file store? I can’t
find anything in the wiki and actually I am getting very frustrated.
It’s the third gem update of Ferret and my plugin just got broken, I
can’t repair it since.
Also the habit of throwing Exceptions is somewhat obnoxious because they
are not standard errors. Might Ferret once get his own error class tree?