lib/riak/client/yokozuna.rb in riak-client-2.2.0.pre1 vs lib/riak/client/yokozuna.rb in riak-client-2.2.0

- old
+ new

@@ -1,11 +1,11 @@ module Riak class Client - def create_search_index(name, schema=nil, n_val=nil) + def create_search_index(name, schema = nil, n_val = nil, timeout = nil) raise ArgumentError, t("zero_length_index") if name.nil? || name.empty? backend do |b| - b.create_search_index(name, schema, n_val) + b.create_search_index(name, schema, n_val, timeout) end true end def get_search_index(name) @@ -47,6 +47,6 @@ backend do |b| return b.get_search_schema(name) end end end -end \ No newline at end of file +end