basdenooijer/solarium — pull request #83 by shieldo (2012-04-03 16:32:48+00:00)
Title: Optional params for facet range

If the params facet.range.other and facet.range.include are not set, either for a specific facet range or from the general configuration, these options are currently sent to Solr with an empty value, which invokes an error at the Solr end (this is experienced on Solr 3.5) of the following type:

SEVERE: org.apache.solr.common.SolrException: is not a valid type of 'other' range facet information

This commit makes sure that the options are not sent to Solr if they are not set.