Interface TextIndexCreator
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface TextIndexCreator extends Closeable
Index creator for text index.
-
-
Method Detail
-
add
void add(String document)
Adds the next document.
-
add
void add(String[] document, int length)
Adds a set of documents to the index
-
seal
void seal() throws IOException
Seals the index and flushes it to disk.- Throws:
IOException
-
-