Hi Solr users,

I have a pint field: 
<field name="rcsb_entry_info.disulfide_bond_count" type="pint"
indexed="true" stored="true"/>

But Solr stats min/max values were returned as float numbers ( "min":0.0, 
"max":1356.0) . I thought "pint" type fields should return min/max as int.
Is there something that user can do to make sure it returns as int type
(which matches the field definition)?   Thanks!


{
  "responseHeader":{
    "status":0,
    "QTime":17,
    "params":{
      "q":"*:*",
      "stats":"true",
      "fl":"",
      "rows":"0",
      "stats.field":"rcsb_entry_info.disulfide_bond_count"}},
  "response":{"numFound":151364,"start":0,"docs":[]
  },
  "stats":{
    "stats_fields":{
      "rcsb_entry_info.disulfide_bond_count":{
        "min":0.0,
        "max":1356.0,
        "count":151363,
        "missing":1,
        "sum":208560.0,
        "sumOfSquares":5660388.0,
        "mean":1.3778796667613618,
        "stddev":5.958002695748158}}}}



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to