[ https://issues.apache.org/jira/browse/SOLR-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yago Riveiro updated SOLR-5732: ------------------------------- Description: I'm trying to get stats over a field with type solr.TrieDateField The field is configurated as: {noformat} <fieldtype name="tdate" class="solr.TrieDateField" precisionStep="8" positionIncrementGap="0" sortMissingLast="true" omitNorms="true" omitPositions="true" docValuesFormat="Disk"/> {noformat} Triying to run this query: {noformat} q=datetime:[2014-01-01T00:00:00Z%20TO%202014-01-01T00:10:00Z]&stats=true&stats.field=datetime {noformat} I have this exception: http://apaste.info/dWL0 A printscreen of the field with the flags [here|https://www.dropbox.com/s/6suvoipwuunvk25/Screenshot%202014-02-14%2018.07.59.png] I can run a facet search over the field without any problem. was: I'm trying to get stats over a field with type solr.TrieDateField The field is configurated as: {noformat} <fieldtype name="tdate" class="solr.TrieDateField" precisionStep="8" positionIncrementGap="0" sortMissingLast="true" omitNorms="true" omitPositions="true" docValuesFormat="Disk"/> {noformat} Triying to run this query: {noformat} q=datetime:[2014-01-01T00:00:00Z%20TO%202014-01-01T00:10:00Z]&stats=true&stats.field=datetime {noformat} I have this exception: http://apaste.info/dWL0 A printscreen of the field with the flags [here|https://www.dropbox.com/s/6suvoipwuunvk25/Screenshot%202014-02-14%2018.07.59.png] > NPE trying get stats with statsComponent > ---------------------------------------- > > Key: SOLR-5732 > URL: https://issues.apache.org/jira/browse/SOLR-5732 > Project: Solr > Issue Type: Bug > Affects Versions: 4.6.1 > Reporter: Yago Riveiro > > I'm trying to get stats over a field with type solr.TrieDateField > The field is configurated as: > {noformat} > <fieldtype name="tdate" class="solr.TrieDateField" precisionStep="8" > positionIncrementGap="0" sortMissingLast="true" omitNorms="true" > omitPositions="true" docValuesFormat="Disk"/> > {noformat} > Triying to run this query: > {noformat} > q=datetime:[2014-01-01T00:00:00Z%20TO%202014-01-01T00:10:00Z]&stats=true&stats.field=datetime > {noformat} > I have this exception: http://apaste.info/dWL0 > A printscreen of the field with the flags > [here|https://www.dropbox.com/s/6suvoipwuunvk25/Screenshot%202014-02-14%2018.07.59.png] > I can run a facet search over the field without any problem. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org