You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/12/14 06:02:13 UTC

[jira] [Resolved] (SOLR-6827) DateRangeField: support facet.range, exclusive range, DateMath

     [ https://issues.apache.org/jira/browse/SOLR-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley resolved SOLR-6827.
--------------------------------
    Resolution: Fixed

bq. Not sure about this one but perhaps the XML / javabin can return a date instead of a string if the value is a date instance and not a range.

I think that has to wait until AbstractSpatialFieldType can be configured to be "pointsOnly" (and in the case of DateRangeField that signified no ranges, just date instances).  Until then, I can't because if I get a range I can't express it as a Date.

> DateRangeField: support facet.range, exclusive range, DateMath
> --------------------------------------------------------------
>
>                 Key: SOLR-6827
>                 URL: https://issues.apache.org/jira/browse/SOLR-6827
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 5.0
>
>         Attachments: SOLR-6827.patch
>
>
> DateRangeField can be made to be more compatible with TrieDateField:
> * facet.range (thus faceting on date durations and date instances alike)
> * exclusive range boundaries
> * Solr DateMath syntax
> ** stored value should have resolved DateMath
> Not sure about this one but perhaps the XML / javabin can return a date instead of a string if the value is a date instance and not a range.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org