Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 92440 invoked from network); 15 Nov 2010 21:46:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 21:46:47 -0000 Received: (qmail 1352 invoked by uid 500); 15 Nov 2010 21:47:16 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 1248 invoked by uid 500); 15 Nov 2010 21:47:16 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 1240 invoked by uid 99); 15 Nov 2010 21:47:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 21:47:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of johannes.goll@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 21:47:10 +0000 Received: by pzk35 with SMTP id 35so1365109pzk.35 for ; Mon, 15 Nov 2010 13:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=9Jul4N9Q7BC3YJh7h1nUWfuCZfQFodg7FvF/C64ns+o=; b=gpFKKeSwdkaCp4v5S8x71DA95uOvhOkgz30sK2biFR99CzDomROEQa/wGXZuJqFDPz duTtBFQTnR3rJGIlIE3paJqYAXWKbQErVLDaFoda1wup39p80gtezD0v59GBdEUK4Gq6 uAC/r9AIaR+bFvGd4gw7y+85x1Xy+ci2bAGzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Mim7BXtlzdLuaRp4/XTaTsp/UoX8pCd3/KNvZGj9hO7I8WrUrwYnsg2tbkn51RTtEN cK/k4bbbO4ojBISL7nupO7CGHbe8Gj6gAVBMzF4N/BiWepPMqWXCZhGaT1V6YNhphIEU kVsRXNMYwDaS1zPoVmKI+ze7EUG4y6S0SD9DM= MIME-Version: 1.0 Received: by 10.142.255.8 with SMTP id c8mr1793960wfi.331.1289857610102; Mon, 15 Nov 2010 13:46:50 -0800 (PST) Received: by 10.142.80.7 with HTTP; Mon, 15 Nov 2010 13:46:50 -0800 (PST) Date: Mon, 15 Nov 2010 16:46:50 -0500 Message-ID: Subject: Solr 1.4.1 stats component count not matching facet count for multi valued field From: Johannes Goll To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001636e1f9c2a938b704951e6009 --001636e1f9c2a938b704951e6009 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a facet field called option which may be multi-valued and a weight field which is single-valued. When I use the Solr 1.4.1 stats component with a facet field, i.e. q=*:*&version=2.2&stats=true&stats.field=weight&stats.facet=option I get conflicting results for the stats count result 1 when compared with the faceting counts obtained by q=*:*&version=2.2&facet=true&facet.field=option I would expect the same count for either method. This happens if multiple values are stored in the options field. It seem that for a multiple values only the last entered value is being considered in the stats component? What am I doing wrong here? Thanks, Johannes --001636e1f9c2a938b704951e6009--