You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/05/27 22:57:48 UTC

[jira] [Commented] (SOLR-2523) SolrJ QueryResponse doesn't support range facets

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

Robert Muir commented on SOLR-2523:
-----------------------------------

Hi Martijn, there are some fun things if you run some of the new tests under a thai locale (our tests randomize across all locales so eventually it will hit this one)

{noformat}
ant test-core -Dtestcase=SolrQueryTest -Dtests.locale=th_TH_TH
{noformat}

I was trying to ensure the test was correct if the default calendar is not gregorian, but it seems to fail already based on number format... 


> 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.2, 4.0
>
>         Attachments: 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org