You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/11/26 18:15:58 UTC

[jira] [Created] (SOLR-9802) Cannot group by a datefield in SolrCloud

Erick Erickson created SOLR-9802:
------------------------------------

             Summary: Cannot group by a datefield in SolrCloud
                 Key: SOLR-9802
                 URL: https://issues.apache.org/jira/browse/SOLR-9802
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Erick Erickson


While working on SOLR-5260 I ran across this. It is easily reproducible by indexing techproducts to a two-shard collection and then
&group=true&group.field=manufacturedate_dt

This works fine stand-alone.

When 5260 gets checked in look in DocValuesNotIndexedTest.java for a reference to this JIRA and take out the special processing that avoids this bug for a unit test.

Stack trace:

  80770 ERROR (qtp845642178-32) [n:127.0.0.1:50799_solr c:dv_coll s:shard1 r:core_node2 x:dv_coll_shard1_replica1] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: 
                    Invalid Date String:'Mon Feb 02 13:40:21 MSK 239906837'
                    
  at org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:234)
  at org.apache.solr.schema.TrieField.readableToIndexed(TrieField.java:530)
  at org.apache.solr.search.grouping.distributed.command.GroupConverter.fromMutable(GroupConverter.java:59)
  at org.apache.solr.search.grouping.distributed.command.SearchGroupsFieldCommand.result(SearchGroupsFieldCommand.java:124)
  at org.apache.solr.search.grouping.distributed.shardresultserializer.SearchGroupsResultTransformer.transform(SearchGroupsResultTransformer.java:57)
  at org.apache.solr.search.grouping.distributed.shardresultserializer.SearchGroupsResultTransformer.transform(SearchGroupsResultTransformer.java:36)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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