This doesn’t answer your question, but it would be nice if the exception 
pointed you to the specific cause of the error?    “Input string ‘3000000000’ 
exceeds Integer.MAX_VALUE for rows parameter”, so that if you aren’t a java 
savvy person, you would better understand the issue.

> On Apr 3, 2021, at 5:35 PM, Shawn Heisey <apa...@elyograg.org> wrote:
> 
> I've come across something and I wonder if it should be considered a bug.
> 
> If a value larger than Integer.MAX_VALUE is sent with the "rows" parameter, 
> Solr will immediately throw an exception:
> 
> org.apache.solr.common.SolrException: For input string: "3000000000"
> 
> It would be perfectly valid (though probably have terrible performance) to 
> expect a value like that with distributed indexes.  The individual shard 
> subqueries of course could never go that high.
> 
> This error also occurs in the cloud example with a distributed index.
> 
> Should this be considered a bug, or are we OK with current behavior?
> 
> Thanks,
> Shawn

_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | 
My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
    
This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.

Reply via email to