RE: Lucene' results paging

2009-12-22 Thread Uwe Schindler
o: java-user@lucene.apache.org > Subject: Re: Lucene' results paging > > Thanks for your answer. But how should I get the total nubmer of > search results in this case? > > On Mon, Dec 21, 2009 at 6:51 PM, Ian Lea wrote: > > Hi > > > > > > The sta

Re: Lucene' results paging

2009-12-22 Thread Антон Кириллов
Thanks for your answer. But how should I get the total nubmer of search results in this case? On Mon, Dec 21, 2009 at 6:51 PM, Ian Lea wrote: > Hi > > > The standard approach to paging is just to do the search again and > pick out the docs you want, along the lines you outline.  You cannot > pass

Re: Lucene' results paging

2009-12-21 Thread Ian Lea
Hi The standard approach to paging is just to do the search again and pick out the docs you want, along the lines you outline. You cannot pass start/end info to any search methods. When you set max doc to, say, 10, lucene will find the 10 highest scoring docs and return them. There is no point