From olio-dev-return-902-apmail-incubator-olio-dev-archive=incubator.apache.org@incubator.apache.org Mon Jun 28 07:00:29 2010 Return-Path: Delivered-To: apmail-incubator-olio-dev-archive@minotaur.apache.org Received: (qmail 23164 invoked from network); 28 Jun 2010 07:00:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jun 2010 07:00:29 -0000 Received: (qmail 79075 invoked by uid 500); 28 Jun 2010 07:00:29 -0000 Delivered-To: apmail-incubator-olio-dev-archive@incubator.apache.org Received: (qmail 78643 invoked by uid 500); 28 Jun 2010 07:00:27 -0000 Mailing-List: contact olio-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: olio-dev@incubator.apache.org Delivered-To: mailing list olio-dev@incubator.apache.org Received: (qmail 78631 invoked by uid 99); 28 Jun 2010 07:00:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 07:00:26 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of julius.haozhang@gmail.com designates 74.125.83.175 as permitted sender) Received: from [74.125.83.175] (HELO mail-pv0-f175.google.com) (74.125.83.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 07:00:18 +0000 Received: by pvg13 with SMTP id 13so782137pvg.6 for ; Sun, 27 Jun 2010 23:59:57 -0700 (PDT) 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=PADvQ8iZdWt/5iZ9bh0anlrA3ke/U9b/UhApov9ba+k=; b=AEfsQ6AGzLyVlFCmGWShCLAFt5HCbZkt7gdyq/SkhpEeBwPGRepJP+BcJoqpYOwrj9 oDAhPgUXPYjKh92iIuVg84Nt3HCA5yTGsdzZk6jJN8ERGzYYeM1yW9TwPZOFWtS6ATFL qzvfihIY9681zZD+gS8t2q2cGktVHYDEbA2Vw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EAudoAONeISOLpphSO0wNh+WfN74Rl9x7B6qpglT4KLKAQvvFXZ2/0P1lyE5BFSYpJ 7GVN5eDIMCiFdcGUNgzkZiV8iL+H/QbzZsNPyOAOYf6sk76ysgfr/qZLSLT+0zZHoBUQ nWzva5mjNCCCq48tSV4BhSNuPz8fA2BOyepYQ= MIME-Version: 1.0 Received: by 10.142.152.18 with SMTP id z18mr5181156wfd.230.1277708397124; Sun, 27 Jun 2010 23:59:57 -0700 (PDT) Received: by 10.142.48.17 with HTTP; Sun, 27 Jun 2010 23:59:57 -0700 (PDT) Date: Sun, 27 Jun 2010 23:59:57 -0700 Message-ID: Subject: Does doTagSearch operation a negative exponential distribution to use more commonly used tags. From: hao zhang To: olio-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, All The olio document says doTagSearch operation chooses a tag name using a negative exponential distribution to use more commonly used tags. I guess the most related code should be public static String randomEvent(Random r, StringBuilder eventListPage). However, in the code it uses random.(0, size) to pick up the event. Could anyone confirm that the tagsearch is using a negative exponential distribution? Thanks. Hao