Hi,
I have a big index and wildcard query raises an exception. That is all
right. The problem is I can not rescue this exception and it bombs right
to user page. Why?
I am on Linux. Ferret 0.9.3 with C extentions.
class A
def self.b
Book.index.search(‘isbn:00*’)
rescue
puts ‘ok’
end
end
=> nil
A.b
(irb):3:insearch': : Error occured at <q_prefix.c>:54 (Exception) Error: exception 6 not handled: Too many clauses from (irb):3:in
b’
from (irb):8:inirb_binding' from /usr/lib/ruby/1.8/irb/workspace.rb:52:in
irb_binding’
from /usr/lib/ruby/1.8/irb/workspace.rb:52
–
Sergei S.
Red Leaf Software LLC
web: http://redleafsoft.com