[ 
https://issues.apache.org/jira/browse/SOLR-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048820#comment-13048820
 ] 

Hoss Man commented on SOLR-2523:
--------------------------------

bq. I'm not a date-math expert, but is there a problem with using the gap w/o 
having to parse it (i.e. can we always append it?)

that is exactly how it was designed to be used.  But ultimately i *really* want 
to implement SOLR-1896 so no client (in any language) ever has to think about 
any of this.

bq. Good idea! This would be really useful for any client. I think we can 
change this in SolrQueryParser#getRangeQuery(....) method or in 
DateField#parseMath(...).

i'm a little lost ... I don't understand what "change" is being suggested in 
this sentence ... can't the client already access both the values and the gap 
and concat them?




> SolrJ QueryResponse doesn't support range facets
> ------------------------------------------------
>
>                 Key: SOLR-2523
>                 URL: https://issues.apache.org/jira/browse/SOLR-2523
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Martijn van Groningen
>            Assignee: Martijn van Groningen
>            Priority: Trivial
>             Fix For: 3.3, 4.0
>
>         Attachments: SOLR-2523.patch, SOLR-2523.patch
>
>
> It is possible to get date facets and pivot facets in SolrJ.
> {code:java}
> queryResponse.getFacetDate();
> queryResponse.getFacetPivot();
> {code}
> Having this also for range fields would be nice. Adding this is trivial. 
> Maybe we should deprecate date facet methods in QueryResponse class? Since it 
> is superseded by range facets. Also some set / add / remove methods for 
> setting facet range parameters on the SolrQuery class would be nice.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to