lib/rsolr/pagination.rb in rsolr-1.0.0 vs lib/rsolr/pagination.rb in rsolr-1.0.1
- old
+ new
@@ -15,9 +15,10 @@
# "extend" on a RSolr::Client instance.
module Client
# A paginated request method.
def paginate page, per_page, path, opts = nil
+ warn "DEPRECATION WARNING: RSolr::Pagination / pagination functionality will be removed in 1.1.0. It will instead be available in RSolr::Ext 1.1.0"
request_context = build_paginated_request page, per_page, path, opts
execute request_context
end
# Just like RSolr::Client #build_request
\ No newline at end of file