class XapianDb::Resultset

The resultset encapsulates a Xapian::Query object and allows paged access to the found documents. The resultset is compatible with will_paginate and kaminari. @example Process the first page of a resultsest

resultset.paginate(:page => 1, :per_page => 10).each do |doc|
  # do something with the xapian document
end

@example Use the resultset and will_paginate in a view

<%= will_paginate resultset %>

@example Use the resultset and kaminari in a view

<%= paginate resultset %>

@author Gernot Kogler