You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/01/11 18:36:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassandra Targett resolved SOLR-5732.
-------------------------------------
    Resolution: Cannot Reproduce

Unfortunately all the info that was in the paste site and dropbox have gone away in the intervening (long) time, so there isn't enough info in this issue anymore to try to reproduce it.

> 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org