Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 98179 invoked from network); 19 Mar 2010 19:37:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 19:37:21 -0000 Received: (qmail 24714 invoked by uid 500); 19 Mar 2010 19:37:16 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 24670 invoked by uid 500); 19 Mar 2010 19:37:16 -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 24662 invoked by uid 99); 19 Mar 2010 19:37:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 19:37: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 (nike.apache.org: local policy) Received: from [67.195.15.203] (HELO web111313.mail.gq1.yahoo.com) (67.195.15.203) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 19 Mar 2010 19:37:09 +0000 Received: (qmail 35778 invoked by uid 60001); 19 Mar 2010 19:36:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1269027407; bh=NOex+gKx7jBRjIitqYZKUCXSDdYIA3WerEsFW4OoFLA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LcG6gfx/rtJYaV7a8SxhY1PQzKnmjVgIzPw7P2fqmKCAG9x2pnA5Uk0jbpHbNS8ld7iBDdmgXY4ZwJV7yBn0I41Q/ffEoQjSjZQPZki2dlFqxZ5ribudh9GiIzpAtm3fWpW3Oc3m2C+oiNn/aLLZJj8PHKWkUUh6adYvWArPH1M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lcb8MxS2pATHh0QsctAsoFy5a/ikGkv6Lu8jmYDvlemrLHbWbT7kkbhIjgLK2DYRnddetmz0o1Ry6xKu6fpWpUxb3+1UScsnxFPlUZMBFOYIzUQvlKE7J2kG3IaCta1OLplXqDU98lPu8NawdGYbN+8V3UPeW+jgtue411OTQ1E=; Message-ID: <175980.35762.qm@web111313.mail.gq1.yahoo.com> X-YMail-OSG: JhfuHBcVM1n.aQiz3G53XPZV72zaA.nXSOa0XtBHgaZIGd2 a7FzCaxyplToo7ZdPfVQ6JiDWl2u4TsHmT2H4Lu6wBYPnloj8_QMiT9sS1mv PuX6n9p4XoEEo0Oy4t4nuq8Wfm9hnZnmWsGyIulL6AY2WZzh8fVcehSM4xso awGnDp44.N.NE4z3t99s7TaSd5zcT1cri.P8ylQ95BZwZKgjFtOsyjd5cH_E F_baC.xnkdmh5b43UT6xqZAhmwXJyCBeuxMXOH_jfF.X.c6grzTwn8uQvGgJ Zs52CctZOBf4yYBi1mLs.FK4uwwLVg8B66CEyLl4uysRKGoh1buvqOop5vfb 4rdQUFDvLK_lrD9oqsI2esjZilg-- Received: from [71.232.33.74] by web111313.mail.gq1.yahoo.com via HTTP; Fri, 19 Mar 2010 12:36:46 PDT X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964 Date: Fri, 19 Mar 2010 12:36:46 -0700 (PDT) From: Andy Subject: Re: How many facet values are too many? To: solr-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-359772484-1269027406=:35762" X-Virus-Checked: Checked by ClamAV on apache.org --0-359772484-1269027406=:35762 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Are you referring to the facet.limit parameter? If it is set to N, does that mean Solr only has to process N values, or tha= t Solr will still process all the values but only return the top N ones? --- On Fri, 3/19/10, Smiley, David W. wrote: From: Smiley, David W. Subject: Re: How many facet values are too many? To: "solr-user@lucene.apache.org" Date: Friday, March 19, 2010, 9:07 AM On Mar 18, 2010, at 10:53 PM, Andy wrote: > My understanding is that too many facet values will decrease performance >=20 > How many is too many? Are there any rules of thumb for this? >=20 > 2 related questions: >=20 > - I expect a facet field to have many values (values are user generated),= any thing I can do to minimize the performance impact? >=20 > - Any way to tell Solr to just at the top N values, kinda like the LIMIT = clause in SQL? >=20 > Thanks Not sure on the "how many is too many" question but I wouldn't be concerned= ; Solr does faceting very well with highly optimized code. The latter question -- absolutely. Standard stuff.=A0 Check out the wiki or= buy my book. ~ David Smiley Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ =0A=0A=0A --0-359772484-1269027406=:35762--