You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Willis Blackburn (JIRA)" <ji...@apache.org> on 2012/06/05 12:26:22 UTC
[jira] [Created] (SOLR-3510) Please add
QueryResponse.getFacetRange(String)
Willis Blackburn created SOLR-3510:
--------------------------------------
Summary: Please add QueryResponse.getFacetRange(String)
Key: SOLR-3510
URL: https://issues.apache.org/jira/browse/SOLR-3510
Project: Solr
Issue Type: Improvement
Components: clients - java
Affects Versions: 3.6
Reporter: Willis Blackburn
Priority: Minor
QueryResponse has getFacetFields()/getFacetField(String) and getFacetDates()/getFacetDate(String), but for range facets, it only has getFacetRanges(). It would be nice to have getFacetRange(String) so we can retrieve a RangeFacet by name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3510) Please add
QueryResponse.getFacetRange(String)
Posted by "Willis Blackburn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289327#comment-13289327 ]
Willis Blackburn commented on SOLR-3510:
----------------------------------------
Actually you'd probably want getNumericFacetRange(String) and getDateFacetRange(String) to mirror the two types of facets you can create in the SolrQuery class.
> Please add QueryResponse.getFacetRange(String)
> ----------------------------------------------
>
> Key: SOLR-3510
> URL: https://issues.apache.org/jira/browse/SOLR-3510
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 3.6
> Reporter: Willis Blackburn
> Priority: Minor
>
> QueryResponse has getFacetFields()/getFacetField(String) and getFacetDates()/getFacetDate(String), but for range facets, it only has getFacetRanges(). It would be nice to have getFacetRange(String) so we can retrieve a RangeFacet by name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3510) Please add
QueryResponse.getFacetRange(String)
Posted by "Willis Blackburn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289330#comment-13289330 ]
Willis Blackburn commented on SOLR-3510:
----------------------------------------
I have to say I'm perplexed by RangeFacet. It has two type parameters: B (bounds?) and G (gap). The start and end properties are of type B. But why is RangeFacet.Count.value of type String instead of B? Doesn't presenting a generic String kind of defeat the purpose of having separate Date and Numeric versions of RangeFacet?
> Please add QueryResponse.getFacetRange(String)
> ----------------------------------------------
>
> Key: SOLR-3510
> URL: https://issues.apache.org/jira/browse/SOLR-3510
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 3.6
> Reporter: Willis Blackburn
> Priority: Minor
>
> QueryResponse has getFacetFields()/getFacetField(String) and getFacetDates()/getFacetDate(String), but for range facets, it only has getFacetRanges(). It would be nice to have getFacetRange(String) so we can retrieve a RangeFacet by name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org