Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 55789 invoked from network); 17 Dec 2008 17:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 17:47:27 -0000 Received: (qmail 29601 invoked by uid 500); 17 Dec 2008 17:47:38 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 29425 invoked by uid 500); 17 Dec 2008 17:47:37 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 29414 invoked by uid 99); 17 Dec 2008 17:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 09:47:37 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.202] (HELO spunkymail-a1.g.dreamhost.com) (208.97.132.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 17:47:16 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a1.g.dreamhost.com (Postfix) with ESMTP id 42259FE1CA for ; Wed, 17 Dec 2008 09:46:55 -0800 (PST) Message-Id: <83B5C799-291D-4850-9C46-5C5316807FAE@apache.org> From: Grant Ingersoll To: general@lucene.apache.org In-Reply-To: <21057383.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: aggregation in lucene Date: Wed, 17 Dec 2008 12:46:53 -0500 References: <21041575.post@talk.nabble.com> <21054569.post@talk.nabble.com> <2AA30231-44F3-4695-A172-0A141516F3EA@apache.org> <21057383.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org That functionality exists in Lucene (SpanQuery), but is not currently exposed in Solr. It would be a welcome addition, though, in Solr. -Grant On Dec 17, 2008, at 12:18 PM, RobertV wrote: > > No, this is not the number of docs returned by the query. The phrase > "Wall > Street Journal" might occur 25 times across 10 documents, so the > count would > be 25 in this example even though there are 10 associated documents > represented. > > > Grant Ingersoll-6 wrote: >> >> >> I believe so. Isn't that just the number of docs returned for that >> query? You can pass arbitrary queries to Solr to facet on, too. I'd >> have a look at http://wiki.apache.org/solr/SimpleFacetParameters >> >> > > -- > View this message in context: http://www.nabble.com/aggregation-in-lucene-tp21041575p21057383.html > Sent from the Lucene - General mailing list archive at Nabble.com. > -------------------------- Grant Ingersoll Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ