public class LuceneWriter extends Lucene
FLD_ALL, FLD_ENTITY, FLD_ID, FLD_LINKS, FLD_MORPHOLOGY_ALL
Constructor and Description |
---|
LuceneWriter(org.apache.lucene.store.Directory directory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static org.apache.lucene.index.IndexWriter |
createWriter(org.apache.lucene.store.Directory directory) |
void |
deleteAll() |
void |
deleteIndexForEntity(java.lang.String entityName) |
void |
optimize() |
public static org.apache.lucene.index.IndexWriter createWriter(org.apache.lucene.store.Directory directory)
public void close()
public void optimize()
public void deleteAll()
public void deleteIndexForEntity(java.lang.String entityName)