You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yago Riveiro (JIRA)" <ji...@apache.org> on 2014/02/14 19:22:19 UTC

[jira] [Created] (SOLR-5732) NPE trying get stats with statsComponent

Yago Riveiro created SOLR-5732:
----------------------------------

             Summary: 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]



--
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