You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stephen Weiss (JIRA)" <ji...@apache.org> on 2017/04/25 17:55:04 UTC
[jira] [Created] (SOLR-10567) Support DateRangeField in JSON Facet
API
Stephen Weiss created SOLR-10567:
------------------------------------
Summary: Support DateRangeField in JSON Facet API
Key: SOLR-10567
URL: https://issues.apache.org/jira/browse/SOLR-10567
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: faceting
Affects Versions: 6.2.1
Reporter: Stephen Weiss
Priority: Minor
While trying to do faceting on a daterangefield, I noticed that only the SimpleFacets system worked - JSON facets did not allow it. It was expecting any range facet to be done on a TrieField, which DateRangeField is not. I updated the code to simply allow DateRangeField through as well, and this appears to work just fine, so I'm submitting a patch so this can be included in the next release.
Haven't submitted a patch before so please forgive me if I screwed up, tried to follow directions as best I could.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org