public interface EventIndexWriter
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
long |
commit() |
java.io.File |
getDirectory() |
long |
getEventsIndexed() |
int |
getEventsIndexedSinceCommit() |
org.apache.lucene.index.IndexWriter |
getIndexWriter() |
boolean |
index(org.apache.lucene.document.Document document,
int commitThreshold) |
boolean |
index(java.util.List<org.apache.lucene.document.Document> documents,
int commitThreshold) |
boolean index(org.apache.lucene.document.Document document, int commitThreshold) throws java.io.IOException
java.io.IOException
boolean index(java.util.List<org.apache.lucene.document.Document> documents, int commitThreshold) throws java.io.IOException
java.io.IOException
java.io.File getDirectory()
long commit() throws java.io.IOException
java.io.IOException
int getEventsIndexedSinceCommit()
long getEventsIndexed()
org.apache.lucene.index.IndexWriter getIndexWriter()