Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 28127 invoked from network); 27 Jan 2006 01:33:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jan 2006 01:33:06 -0000 Received: (qmail 83647 invoked by uid 500); 27 Jan 2006 01:33:05 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 83594 invoked by uid 500); 27 Jan 2006 01:33:05 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 83583 invoked by uid 99); 27 Jan 2006 01:33:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2006 17:33:05 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Jan 2006 17:33:04 -0800 Received: (qmail 27976 invoked by uid 65534); 27 Jan 2006 01:32:44 -0000 Message-ID: <20060127013244.27970.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r372696 - /lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java Date: Fri, 27 Jan 2006 01:32:43 -0000 To: java-commits@lucene.apache.org From: whoschek@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: whoschek Date: Thu Jan 26 17:32:41 2006 New Revision: 372696 URL: http://svn.apache.org/viewcvs?rev=372696&view=rev Log: cosmetics Modified: lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java Modified: lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java?rev=372696&r1=372695&r2=372696&view=diff ============================================================================== --- lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java (original) +++ lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java Thu Jan 26 17:32:41 2006 @@ -200,7 +200,7 @@ /** - * Returns (frequency:text) pairs for the top N distinct terms (aka words), + * Returns (frequency:term) pairs for the top N distinct terms (aka words), * sorted descending by frequency (and ascending by term, if tied). *

* Example XQuery: @@ -220,8 +220,8 @@ * @param limit * the maximum number of pairs to return; zero indicates * "as many as possible". - * @return an array of (frequency:text) pairs in the form of (freq0:text0, - * freq1:text1, ..., freqN:textN). Each pair is a single string + * @return an array of (frequency:term) pairs in the form of (freq0:term0, + * freq1:term1, ..., freqN:termN). Each pair is a single string * separated by a ':' delimiter. */ public static String[] getMostFrequentTerms(Analyzer analyzer, String text, int limit) {