tamaramata / solrnet

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

QueryOptions Rows default is not 10 #186

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an instance of QueryOptions without setting the Rows property.
2. Create an instance of ISolrOperations<T>.
3. Call Query on the ISolrOperations<T>, passing in the QueryOptions.

What is the expected output? What do you see instead?
Only 10 rows are expected, but I get a timeout because the actual result set is 
359k+ rows.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ryan.ri...@panesofglass.org on 31 Jul 2012 at 2:41

GoogleCodeExporter commented 8 years ago
Indeed, this is for now documented in 
http://code.google.com/p/solrnet/wiki/Querying#Pagination and explained in 
http://stackoverflow.com/a/2774495/21239

Original comment by mauricio...@gmail.com on 31 Jul 2012 at 4:32

GoogleCodeExporter commented 8 years ago
I think then it's an XML doc comment bug. The IntelliSense documentation notes 
that the default value for Rows is 10.

Original comment by ryan.ri...@panesofglass.org on 31 Jul 2012 at 6:18

GoogleCodeExporter commented 8 years ago
Ugh, the XML doc was still wrong. Fixed in 
ccb6a2097c1fd4f7162a86aef88ce06ee4870700

Original comment by mauricio...@gmail.com on 9 Sep 2013 at 7:52