[
https://issues.apache.org/jira/browse/SOLR-12020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411638#comment-16411638
]
Yonik Seeley commented on SOLR-12020:
-------------------------------------
Thanks for the extra info! I haven't been able to reproduce your exact problem
in a unit test yet, but I did reproduce an issue in general with refinement
with date fields as a parent facet (patch attached).
What was the stack trace corresponding to the "Invalid Date String" error?
I'm about to go on vacation through the middle of next week, so I won't be able
to continue looking into this until I get back.
> terms faceting on date field fails in distributed refinement
> ------------------------------------------------------------
>
> Key: SOLR-12020
> URL: https://issues.apache.org/jira/browse/SOLR-12020
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Facet Module
> Affects Versions: 6.6
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Priority: Major
> Fix For: 7.3
>
> Attachments: SOLR-12020.patch, SOLR-12020.patch,
> SOLR-12020_test.patch, Solr Error.png,
> popbio-solr-VB-2018-02-main-05.json.gz, vb_popbio_conf.tar.gz
>
>
> This appears to be a regression, as the reporter indicates that Solr 6.2
> worked and Solr 6.6 does not.
> http://markmail.org/message/hwlajuy5jnmf4yd6
> I've reproduced the issue on the master branch (future v8) as well.
> A typical exception that results from a terms facet on a date field is:
> {code}
> org.apache.solr.common.SolrException: Invalid Date String:'Sat Feb 03
> 01:02:03 WET 2001'
> at
> org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:247)
> at
> org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:226)
> at
> org.apache.solr.schema.DatePointField.toNativeType(DatePointField.java:113)
> at
> org.apache.solr.search.facet.FacetFieldProcessor.refineBucket(FacetFieldProcessor.java:683)
> at
> org.apache.solr.search.facet.FacetFieldProcessor.refineFacets(FacetFieldProcessor.java:638)
> at
> org.apache.solr.search.facet.FacetFieldProcessorByArray.calcFacets(FacetFieldProcessorByArray.java:66)
> at
> org.apache.solr.search.facet.FacetFieldProcessorByArray.process(FacetFieldProcessorByArray.java:58)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]