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 95AC019C93 for ; Tue, 26 Apr 2016 21:08:50 +0000 (UTC) Received: (qmail 55491 invoked by uid 500); 26 Apr 2016 21:08:46 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 55420 invoked by uid 500); 26 Apr 2016 21:08:46 -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 55408 invoked by uid 99); 26 Apr 2016 21:08:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 21:08:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 373ECC054F for ; Tue, 26 Apr 2016 21:08:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ffCDJme_i20W for ; Tue, 26 Apr 2016 21:08:44 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 324C15F19A for ; Tue, 26 Apr 2016 21:08:44 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id u185so32879541iod.3 for ; Tue, 26 Apr 2016 14:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=JirQW6MUytHD9HdHxIamz4K0hEkjSCZlfxfeC1js7as=; b=Pk2LiDlcIk0HJyoqZju5tn6Uwx6fZM4q5mgw8gyD0u6vA+e+aPvb4J60R0DsPEeFu+ dy3IoDRUGArvSx9wzhsMrhmd9xb4rVw/QW9+Qxz85CMxSq4a6j4hoN2uwxnttYTG3Riv N1LU2Jduj/FrzUs53XrITQjW2AM4cFz/KQsa8/2vh4kjGrUy0j1wpjJ1DWN4CGoNEvUo xwwmrRdk0WNCtGqdq/0LY0nbfWS8NYxIY/DpahNGHlt8G+B84BicaAbqkqXO/61D1u03 +8fcmQ8L8h1LRYyDTCA3SUO3FrQNO7OD1oICgJv73OFp45gciJlZ7aj+JNBrrcyWPYeK PQ/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=JirQW6MUytHD9HdHxIamz4K0hEkjSCZlfxfeC1js7as=; b=aD8rSkOCpyIuprUGqriXaV7iRkaXXiBXTrjdDp5amqLJ0kpyW/2UKbSfDBdKh7qCj5 N+7wI+5ivLKNMP6RAYtv5MT5K7/xW+DS6r47IymChBvdQhzMhc0aZsfm6nOTRMP3xlr6 Ks53Gn9DwRu/wzWEGif+fOYQrzei4vbzWgIByLZlZfExm0SEtcuWFZkBh1CgxnhOTMlt CoJfQV/9rbwdQ3h69vpgBmTLmw7vdKW0HXy0IvnWsNDcqXFGVq1p83GRfqpSO2MSyvZ8 b04aCfESPp6qeikzZaUAzuftqMQ/qnAIKCX6eQrX6VgVJEnTaACOA9a48rQuklOL/mc+ KByw== X-Gm-Message-State: AOPr4FUBuNZ2ua1jewq9GsJ6DfJ+bMJEIetNojPBCJSlCNZPTA48wJyrRmEZzCzqRyT7IadS8mW6EWHFJF8kUw== MIME-Version: 1.0 X-Received: by 10.107.33.7 with SMTP id h7mr6149167ioh.30.1461704923508; Tue, 26 Apr 2016 14:08:43 -0700 (PDT) Received: by 10.79.36.22 with HTTP; Tue, 26 Apr 2016 14:08:43 -0700 (PDT) Date: Tue, 26 Apr 2016 14:08:43 -0700 Message-ID: Subject: Child doc facet not getting terms, only counts From: Yangrui Guo To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a1140f486bb7954053169b25b --001a1140f486bb7954053169b25b Content-Type: text/plain; charset=UTF-8 When I use subfaceting with Json API, the facet results only gave me counts, no terms. My query is like this: { apparels : { type: terms, field: brand, facet:{ values:{ type: query, q:\"brand:Chanel\", facet: { type: terms, field: madein } domain: { blockChildren : \"content_type:p\" } } }, domain: { blockChildren : \"content_type:p\" } } } } And this is the results that I got: facets={ count=57477, apparels={ buckets= { val=Chanel, count=6, madein={ count=6 buckets={} } } } } The second buckets got zero results but the count was correct. What was I missing? Thanks so much! --001a1140f486bb7954053169b25b--