lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: SolrQuery#setStart(Integer) ???
Date Wed, 27 Apr 2011 23:13:08 GMT
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 <leonardossz@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/
>  ^ ^
>

Mime
View raw message