Well, the java native int fomat is 32 bits, so  unless you're returning
over 2 billion documents, you should be OK. But you'll run into other issues
long before you get to that range.

Best
Erick

On Wed, Apr 27, 2011 at 5:25 PM, Leonardo Souza <leonardo...@gmail.com> wrote:
> Hi Guys,
>
> We have an index with more than 3 millions documents, we use the pagination
> feature through SolrQuery#setStart and SolrQuery#setRows
> methods. Some queries can return a huge amount of documents and i'm worry
> about the integer parameter of  the setStart method, this parameter
> should be a long don't you think? For now i'm considering to use the
> ModifiableSolrParams class. Any suggestion is welcome!
>
> thanks!
>
>
> [ ]'s
> Leonardo Souza
>  °v°   Linux user #375225
>  /(_)\   http://counter.li.org/
>  ^ ^
>

Reply via email to