search for: gift_index

Displaying 2 results from an estimated 2 matches for "gift_index".

Did you mean: get_index
2006 Aug 04
5
A couple of ferret 0.9.4 exceptions
...hough which I think isn''t too bad). I am using two lighttpd instances both with read/write access to the index: 1) Error occured at <fs_store.c>:318 Error: exception 2 not handled: Couldn''t open the file to read This happened while adding a document to the index like so: gift_index << self.to_doc 2) Error occured at <index_rw.c>:2642 Error: exception 6 not handled: Could not obtain commit lock when trying to write index This happened while doing a search_each like so: gift_index.search_each The weird thing is that I would think the search each doesn''t...
2006 Mar 01
9
Updating Index Is Very Slow
Hi, I am experiencing very poor performance when updating my index. For example, to update the index for 10 documents, it is taking 3 to 4 seconds. My index is currently very small... with probably less than 100 docs in it. I have created my index as follows: GIFT_INDEX = Index::Index.new(:path => "#{index_dir}/gift", :key => ''id'', :auto_flush => true) and I have an after_save filter in my model as follows: def update_index INDEX << self.to_doc end Is there anything I can do to improve this performance? Thanks, T...