lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willis Blackburn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3510) Please add QueryResponse.getFacetRange(String)
Date Tue, 05 Jun 2012 10:59:22 GMT

    [ 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


Mime
View raw message