title: In "spring-data-elasticsearch" 4.0.4.RELEASE, how to convert SearchHits to Page?
body: <p>In <code>spring-data-elasticsearch</code> 4.0.4.RELEASE, <code>ElasticsearchRestTemplate</code>'s <code>queryForPage()</code> methods are deprecated, need to use <code>search()</code> instead, which return <code>SearchHits</code> instead of <code>Page</code>.</p>
  <p>So, how to convert <code>SearchHits</code> to <code>Page</code>, or how to still get results as <code>Page</code>?</p>
  <p>I have searched via google, and checked official doc, and checked source code, still don't know the best way, any help?</p>