[
https://issues.apache.org/jira/browse/SOLR-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275895#comment-14275895
]
Charles Reitzel commented on SOLR-2523:
---------------------------------------
For generating queries based on range facet results, yes, Solr-1896 will do the
right thing.
For generating labels for the UI, we still need access to DateMathParser on the
client side. Shouldn't be too tricky to de-couple from SolrRequestInfo ... (he
says hopefully).
Do you see what I mean?
> 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.4, 4.0-ALPHA
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]