lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antelmo Aguilar <>
Subject Issue Using JSON Facet API Buckets in Solr 6.6
Date Mon, 12 Feb 2018 21:55:57 GMT

I was using the following part of a query to get facet buckets so that I
can use the information in the buckets for some post-processing:


Sorry if it is hard to read.  Basically what is was doing was getting the
following buckets:

First bucket will be categorized by "Species category" by default unless we
pass in the request the "term" parameter which we will categories the first
bucket by whatever "term" is set to.  Then inside this first bucket, we
create another buckets of the "Collection date" category.  Then inside the
"Collection date" category buckets, we would use some functions to do some
calculations and return those calculations inside the "Collection date"
category buckets.

This query is working fine in Solr 6.2, but I upgraded our instance of Solr
6.2 to the latest 6.6 version.  However it seems that upgrading to Solr 6.6
broke the above query.  Now it complains when trying to create the buckets
of the "Collection date" category.  I get the following error:

Invalid Date String:'Fri Aug 01 00:00:00 UTC 2014'

It seems that when creating the buckets of a date field, it does some
conversion of the way the date is stored and causes the error to appear.
Does anyone have an idea as to why this error is happening?  I would really
appreciate any help.  Hopefully I was able to explain my issue well.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message