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 0007D9123 for ; Thu, 8 Dec 2011 11:39:04 +0000 (UTC) Received: (qmail 16456 invoked by uid 500); 8 Dec 2011 11:39:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 16410 invoked by uid 500); 8 Dec 2011 11:39:03 -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 16403 invoked by uid 99); 8 Dec 2011 11:39:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 11:39:03 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=5.0 tests=ALL_TRUSTED,FR_ALMOST_VIAG2,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; Thu, 08 Dec 2011 11:39:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ED5E7107F99 for ; Thu, 8 Dec 2011 11:38:39 +0000 (UTC) Date: Thu, 8 Dec 2011 11:38:39 +0000 (UTC) From: "Ian Grainger (Issue Comment Edited) (JIRA)" To: dev@lucene.apache.org Message-ID: <1455787784.53189.1323344319973.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <573333923.26602.1321273611650.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (SOLR-2898) Support grouped faceting 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-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165162#comment-13165162 ] Ian Grainger edited comment on SOLR-2898 at 12/8/11 11:36 AM: -------------------------------------------------------------- A thought on this problem - I have a workaround which involves separate facet queries for the grouped facets using a different sort (so matching grouped records are always first in the group if available). I don't know how this works internally, but might it be possible to add a sort to the facet query? Like: bq. facet.query={!sort=Monitor_ID+asc}Monitor_ID:[1+TO+9999] ? was (Author: iangrainger): A thought on this problem - I have a workaround which involves separate facet queries for the grouped facets using a different sort (so matching grouped records are always first in the group if available). I don't know how this works internally, but might it be possible to add a sort to the facet query? Like: {{ facet.query={!sort=Monitor_ID+asc}Monitor_ID:[1+TO+9999] }} ? > Support grouped faceting > ------------------------ > > Key: SOLR-2898 > URL: https://issues.apache.org/jira/browse/SOLR-2898 > Project: Solr > Issue Type: New Feature > Reporter: Martijn van Groningen > Attachments: SOLR-2898.patch > > > Support grouped faceting. As described in LUCENE-3097 (matrix counts). -- 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