mfares / solrpy

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

numFound is a string #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Issue a query
2. Use a condition like if response.numFound > 100
3. Python enters the condition nontheless
4. isinstance(response.numFound, long) == False

What is the expected output? What do you see instead?
The numFound attribute should be of type long, and similarly, start should 
be long too and maxScore float

Original issue reported on code.google.com by shywolf9...@gmail.com on 18 Feb 2010 at 5:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed in r56

Original comment by shywolf9...@gmail.com on 18 Feb 2010 at 5:44