You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Devansh Dhutia (JIRA)" <ji...@apache.org> on 2014/02/12 16:46:21 UTC

[jira] [Commented] (SOLR-5717) group.field returns no groups for trie fields with non zero precisionstep

    [ https://issues.apache.org/jira/browse/SOLR-5717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899200#comment-13899200 ] 

Devansh Dhutia commented on SOLR-5717:
--------------------------------------

This may be related: 
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201304.mbox/%3C51643FA3.2050705@kelkoo.fr%3E

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org