Package javadocofflinesearch.lucene
Class MainIndex
- java.lang.Object
-
- javadocofflinesearch.lucene.MainIndex
-
public class MainIndex extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
mainIndexName
-
Constructor Summary
Constructors Constructor Description MainIndex(SearchSettings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkInitialized()
static void
didYouMent(java.lang.String queryString, Formatter f, int count, Vocabulary v)
void
index()
java.lang.String
printInitialized()
void
search(java.lang.String queryString, SearchSettings settings, java.io.PrintStream out)
-
-
-
Field Detail
-
mainIndexName
public static final java.lang.String mainIndexName
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MainIndex
public MainIndex(SearchSettings settings) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
checkInitialized
public boolean checkInitialized() throws java.io.IOException
- Throws:
java.io.IOException
-
printInitialized
public java.lang.String printInitialized() throws java.io.IOException
- Throws:
java.io.IOException
-
index
public void index() throws java.io.IOException
- Throws:
java.io.IOException
-
search
public void search(java.lang.String queryString, SearchSettings settings, java.io.PrintStream out) throws java.io.IOException, org.apache.lucene.queryparser.classic.ParseException
- Throws:
java.io.IOException
org.apache.lucene.queryparser.classic.ParseException
-
didYouMent
public static void didYouMent(java.lang.String queryString, Formatter f, int count, Vocabulary v)
-
-