Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EEEBE183C6 for ; Mon, 13 Jul 2015 13:36:55 +0000 (UTC) Received: (qmail 42592 invoked by uid 500); 13 Jul 2015 13:36:51 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 42528 invoked by uid 500); 13 Jul 2015 13:36:51 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 42517 invoked by uid 99); 13 Jul 2015 13:36:50 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 13:36:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 77ACE1A6EAB for ; Mon, 13 Jul 2015 13:36:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.233 X-Spam-Level: ** X-Spam-Status: No, score=2.233 tagged_above=-999 required=6.31 tests=[SPF_FAIL=0.919, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id N573nDcZz5bg for ; Mon, 13 Jul 2015 13:36:42 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id BA46B43E1F for ; Mon, 13 Jul 2015 13:36:41 +0000 (UTC) Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 5A7F5235B73A for ; Mon, 13 Jul 2015 06:36:43 -0700 (PDT) Date: Mon, 13 Jul 2015 06:36:40 -0700 (MST) From: StrW_dev To: solr-user@lucene.apache.org Message-ID: <1436794600811-4217053.post@n3.nabble.com> Subject: Field collapsing on parent document MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I use a blockjoin document structure with 3 levels (base, path and attributes). I am performing a facet query to count the number of different attributes, but I would like to group or collapse them at path level. I can easily collapse them on base (by using _root_), but I want them to be grouped or collapsed at the intermediate level. Can I do that? So basically a query that combines a parent child query with a collapse field query. Something like this: {!child of=type:path}{!collapse field=_root_} Gr -- View this message in context: http://lucene.472066.n3.nabble.com/Field-collapsing-on-parent-document-tp4217053.html Sent from the Solr - User mailing list archive at Nabble.com.