lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Munendra S N (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-9802) Cannot group by a datefield in SolrCloud
Date Wed, 17 Jul 2019 06:00:04 GMT

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

Munendra S N updated SOLR-9802:
-------------------------------
    Status: Patch Available  (was: Open)

> Cannot group by a datefield in SolrCloud
> ----------------------------------------
>
>                 Key: SOLR-9802
>                 URL: https://issues.apache.org/jira/browse/SOLR-9802
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Erick Erickson
>            Priority: Major
>         Attachments: SOLR-9802.patch
>
>
> 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
(v7.6.14#76016)

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


Mime
View raw message