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 A25DC6B23 for ; Tue, 14 Jun 2011 06:51:12 +0000 (UTC) Received: (qmail 48338 invoked by uid 500); 14 Jun 2011 06:51:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 48254 invoked by uid 500); 14 Jun 2011 06:51:11 -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 48247 invoked by uid 99); 14 Jun 2011 06:51:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 06:51:10 +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; Tue, 14 Jun 2011 06:51:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5247A414B4B for ; Tue, 14 Jun 2011 06:50:47 +0000 (UTC) Date: Tue, 14 Jun 2011 06:50:47 +0000 (UTC) From: "Martijn van Groningen (JIRA)" To: dev@lucene.apache.org Message-ID: <815447483.1828.1308034247333.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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049012#comment-13049012 ] Martijn van Groningen commented on SOLR-2523: --------------------------------------------- Solr-1896 looks like what this issue needs. The change that I suggested involves having the datemath syntax in regular Solr query parser. But I think solr-1896 is just fine for this issue. Maybe changing the regular query parser is a bit too much.... > 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