Added ElasticPagination class and used it in `quick_search()`. #6572