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/14 15:56:19 UTC
[jira] [Updated] (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:all-tabpanel ]
Devansh Dhutia updated SOLR-5717:
---------------------------------
Description:
I have an statusid field in my schema setup as
{code}
<field name="statusid" type="tint" indexed="true" stored="true" required="true"/>
<fieldType name="tint" class="solr.TrieIntField" precisionStep="4" 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}
was:
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}
> 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
> Labels: cloud, field, grouping
>
> I have an statusid field in my schema setup as
> {code}
> <field name="statusid" type="tint" indexed="true" stored="true" required="true"/>
> <fieldType name="tint" class="solr.TrieIntField" precisionStep="4" 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