Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12020

terms faceting on date field fails in distributed refinement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6
    • 7.3
    • Facet Module
    • None

    Description

      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:

      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)
      

      Attachments

        1. popbio-solr-VB-2018-02-main-05.json.gz
          28.61 MB
          Antelmo Aguilar
        2. SOLR-12020_test.patch
          8 kB
          Yonik Seeley
        3. SOLR-12020.patch
          5 kB
          Yonik Seeley
        4. SOLR-12020.patch
          1.0 kB
          Yonik Seeley
        5. Solr Error.png
          148 kB
          Antelmo Aguilar
        6. vb_popbio_conf.tar.gz
          134 kB
          Antelmo Aguilar

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            yseeley@gmail.com Yonik Seeley
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: