Interface TextIndexCreator
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface TextIndexCreator extends Closeable
Index creator for text index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(String document)Adds the next document.voidadd(String[] document, int length)Adds a set of documents to the indexvoidseal()Seals the index and flushes it to disk.
-
-
-
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
-
-