Hi solmaz, IndexSearcher.searchAfter() (several variants) can be used to do (deep) paging - here’s one of them: <http://lucene.apache.org/core/5_2_1/core/org/apache/lucene/search/IndexSearcher.html#searchAfter(org.apache.lucene.search.ScoreDoc,%20org.apache.lucene.search.Query,%20int)>
Steve > On Jun 22, 2015, at 7:46 AM, solmaz oskouii <solmaz.osko...@gmail.com> wrote: > > Hi > does Lucene provide a direct way to do paging on search result without > any more coding just using Lucene 's API? > > links below show how to make paging on search results after do search(use > indexSearch API) > > http://hrycan.com/2010/02/10/paginating-lucene-search-results/ > http://stackoverflow.com/questions/963781/how-to-achieve-pagination-in-lucene > > now my question is this > has Lucene it's own APIs for do that during searching ? > > thanks in advance --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org