lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2523) SolrJ QueryResponse doesn't support range facets
Date Sun, 12 Jun 2011 13:22:51 GMT

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

Yonik Seeley commented on SOLR-2523:
------------------------------------

bq. I'm currently having a problem with parsing date gaps.

Hmmm, why do you need to parse the gap?  The results returned include absolute times.  For
consistency, perhaps a filter query should also use those absolute times returned in the response
to construct the filter rather than trying to use date math?

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


Mime
View raw message