mirror of https://github.com/apache/lucene.git
trivial: removed some @author tags, spelling, whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@596482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5401d6ed20
commit
de35ba93f1
|
@ -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 @@ package org.apache.solr.util;
|
|||
* 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.index.TermEnum;
|
|||
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 @@ import org.apache.lucene.search.spell.Dictionary;
|
|||
*
|
||||
* 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;
|
||||
|
@ -57,7 +53,6 @@ public class HighFrequencyDictionary implements Dictionary {
|
|||
return new HighFrequencyIterator();
|
||||
}
|
||||
|
||||
|
||||
final class HighFrequencyIterator implements Iterator {
|
||||
private TermEnum termEnum;
|
||||
private Term actualTerm;
|
||||
|
|
Loading…
Reference in New Issue