You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by kl...@apache.org on 2007/11/20 00:19:18 UTC
svn commit: r596482 -
/lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
Author: klaas
Date: Mon Nov 19 15:19:17 2007
New Revision: 596482
URL: http://svn.apache.org/viewvc?rev=596482&view=rev
Log:
trivial: removed some @author tags, spelling, whitespace
Modified:
lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java?rev=596482&r1=596481&r2=596482&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/HighFrequencyDictionary.java Mon Nov 19 15:19:17 2007
@@ -1,5 +1,3 @@
-package org.apache.solr.util;
-
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -17,6 +15,8 @@
* limitations under the License.
*/
+package org.apache.solr.util;
+
import java.io.IOException;
import java.util.Iterator;
@@ -26,7 +26,7 @@
import org.apache.lucene.search.spell.Dictionary;
/**
- * Hi Frequency Dictionary: terms taken from the given field
+ * HighFrequencyDictionary: terms taken from the given field
* of a Lucene index, which appear in a number of documents
* above a given threshold.
*
@@ -35,12 +35,8 @@
*
* Threshold is a value in [0..1] representing the minimum
* number of documents (of the total) where a term should appear.
- *
- * @author Mike Krimerman
- *
- * Based on LuceneDictionary, by
- * @author Nicolas Maisonneuve
- * @author Christian Mallwitz
+ *
+ * Based on LuceneDictionary.
*/
public class HighFrequencyDictionary implements Dictionary {
private IndexReader reader;
@@ -56,7 +52,6 @@
public final Iterator getWordsIterator() {
return new HighFrequencyIterator();
}
-
final class HighFrequencyIterator implements Iterator {
private TermEnum termEnum;