tamaramata / solrnet

Automatically exported from code.google.com/p/solrnet
0 stars 0 forks source link

SOLR 3.5.0 - problem with ConstDefaultRows #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

When trying to use an existing SOLRNET based application with SOLR 3.5.0. I 
receive memory errors due to fact that the query is made with the default 
ConstDefaultRows = 100000000. 
I could just use the Rows parameters of course, by I would like to understand 
this issue a little better:

1. Have anyone had this issue before?
2. Why this request works fine on earlier SOLR versions?

Thank you,
Frederico

Please use labels and text to provide additional information.

Original issue reported on code.google.com by frederic...@gmail.com on 15 Mar 2012 at 12:22

GoogleCodeExporter commented 8 years ago
Testing:

select?rows=1000000000&q=sig%3a("54ba3e8fd3d5d8371f0e01c403085a0c")&?

this query returns no results on my indexes, but works for Solr 1.4.0 and 
returns
"Java heap space java.lang.OutOfMemoryError: Java heap space" on SOLR 3.5.0

Probably this is a SOLR question and not a SOLRNET one... :)

Original comment by frederic...@gmail.com on 15 Mar 2012 at 12:40

GoogleCodeExporter commented 8 years ago
Precisely: if it used to work on a previous version of Solr, it's a bug in 
Solr. As recommended in the SolrNet docs, always define the Rows parameter. I'm 
aware of this unfortunate decision in SolrNet, I'll be removing the high 
default value in a future version.

Also, please use the google group for general questions, this is the issue 
tracker. https://groups.google.com/forum/?fromgroups#!forum/solrnet

Original comment by mauricio...@gmail.com on 15 Mar 2012 at 1:13