i have a model Ticket which has 4 records.. I deleted first 2 records in the database..
search = Sunspot.new_search(Ticket) do
paginate(:page => 1, :per_page => 2)
list = search.execute
list.results returns [ ] for page 1 and the remaining 2 records for page 2.
Ideally it should have been 1 page with 2 records. is it possible to avoid the records that not in database without re-indexing solr?