Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE4516D21 for ; Mon, 13 Jun 2011 22:08:09 +0000 (UTC) Received: (qmail 78747 invoked by uid 500); 13 Jun 2011 22:08:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 78699 invoked by uid 500); 13 Jun 2011 22:08:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 78692 invoked by uid 99); 13 Jun 2011 22:08:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 22:08:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 22:08:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7EF6A413318 for ; Mon, 13 Jun 2011 22:07:47 +0000 (UTC) Date: Mon, 13 Jun 2011 22:07:47 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <258712993.323.1308002867516.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1145017434.21028.1305674387324.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2523) SolrJ QueryResponse doesn't support range facets MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048820#comment-13048820 ] Hoss Man commented on SOLR-2523: -------------------------------- bq. I'm not a date-math expert, but is there a problem with using the gap w/o having to parse it (i.e. can we always append it?) that is exactly how it was designed to be used. But ultimately i *really* want to implement SOLR-1896 so no client (in any language) ever has to think about any of this. bq. Good idea! This would be really useful for any client. I think we can change this in SolrQueryParser#getRangeQuery(....) method or in DateField#parseMath(...). i'm a little lost ... I don't understand what "change" is being suggested in this sentence ... can't the client already access both the values and the gap and concat them? > 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