Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

cosmetics

Wolfgang Hoschek75ee463870ed
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java b/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
index 1ae74fdac4f..4599fbbfb58 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
@@ -200,7 +200,7 @@ public class AnalyzerUtil {
/**
- * 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).
* <p>
* Example XQuery:
@@ -220,8 +220,8 @@ public class AnalyzerUtil {
* @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) {