lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Souza <leonardo...@gmail.com>
Subject Re: SolrQuery#setStart(Integer) ???
Date Thu, 28 Apr 2011 18:03:46 GMT
Hi Erick,

Correct, i cut some zeros while reading the javadocs, thanks for the heads
up!


[ ]'s
Leonardo da S. Souza
 °v°   Linux user #375225
 /(_)\   http://counter.li.org/
 ^ ^



On Wed, Apr 27, 2011 at 8:13 PM, Erick Erickson <erickerickson@gmail.com>wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message