r108953 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108952‎ | r108953 | r108954 >
Date:04:26, 15 January 2012
Author:oren
Status:ok
Tags:
Comment:
documented class
Modified paths:
  • /trunk/lucene-search-2/src/org/wikimedia/lsearch/spell/SuggestShell.java (modified) (history)

Diff [purge]

Index: trunk/lucene-search-2/src/org/wikimedia/lsearch/spell/SuggestShell.java
@@ -3,27 +3,25 @@
44 import java.io.BufferedReader;
55 import java.io.IOException;
66 import java.io.InputStreamReader;
7 -import java.util.Arrays;
87 import java.util.HashSet;
98
109 import org.apache.lucene.analysis.Analyzer;
11 -import org.apache.lucene.index.IndexReader;
12 -import org.apache.lucene.store.FSDirectory;
1310 import org.wikimedia.lsearch.analyzers.Analyzers;
1411 import org.wikimedia.lsearch.analyzers.FieldBuilder;
1512 import org.wikimedia.lsearch.analyzers.WikiQueryParser;
16 -import org.wikimedia.lsearch.beans.SearchResults;
1713 import org.wikimedia.lsearch.config.Configuration;
1814 import org.wikimedia.lsearch.config.GlobalConfiguration;
1915 import org.wikimedia.lsearch.config.IndexId;
20 -import org.wikimedia.lsearch.config.IndexRegistry;
2116 import org.wikimedia.lsearch.search.NamespaceFilter;
22 -import org.wikimedia.lsearch.spell.Suggest;
23 -import org.wikimedia.lsearch.spell.SuggestResult;
24 -import org.wikimedia.lsearch.spell.SuggestSimilar;
25 -import org.wikimedia.lsearch.spell.Suggest.ExtraInfo;
2617 import org.wikimedia.lsearch.spell.dist.DoubleMetaphone;
2718
 19+/**
 20+ * this provides shell access to the spell check feature
 21+ * for debugging
 22+ *
 23+ * @author rainman
 24+ *
 25+ */
2826 public class SuggestShell {
2927
3028 public static void main(String args[]) throws IOException{

Status & tagging log