Devansh Dhutia created SOLR-5717:
------------------------------------

             Summary: group.field returns no groups for trie fields with non 
zero precisionstep
                 Key: SOLR-5717
                 URL: https://issues.apache.org/jira/browse/SOLR-5717
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.6
            Reporter: Devansh Dhutia


I have an statusid field in my schema setup as 
{code}
<field name="statusid" type="tint" indexed="true" stored="true" 
required="true"/>

<fieldType name="int" class="solr.TrieIntField" precisionStep="0" 
positionIncrementGap="0"/>

{code}

I am running a multi shard cloud, and when issuing a query such as the 
following: 
{quote}
/?q=*:*&group.field=statusid&group=true
{quote}
I get a response such as 
{code}
"grouped": {
    "statusid": {
      "matches": 376601,
      "groups": [
        {
          "groupValue": 0,
          "doclist": {
            "numFound": 0,
            "start": 0,
            "docs": []
          }
        },
        {
          "groupValue": 0,
          "doclist": {
            "numFound": 0,
            "start": 0,
            "docs": []
          }
        }
      ]
    }
  }
{code}

I know there are many results with non zero status ids in the index (verified 
by faceting on the statusid field

{code}
"facet_fields": {
      "statusid": [
        "0",
        177460,
        "1",
        163303,
        "9",
        34291,
        "7",
        804,
        "2",
        587,
        "8",
        83,
        "6",
        73
      ]
}
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to