Example usage for Java org.apache.lucene.facet.taxonomy.directory DirectoryTaxonomyWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
DirectoryTaxonomyWriter(Directory directory, OpenMode openMode) Creates a new instance with a default cache as defined by #defaultTaxonomyWriterCache() . | |
DirectoryTaxonomyWriter(Directory d) Create this with OpenMode.CREATE_OR_APPEND . | |
DirectoryTaxonomyWriter(Directory directory, OpenMode openMode, TaxonomyWriterCache cache) Construct a Taxonomy writer. |
void | close() Frees used resources as well as closes the underlying IndexWriter , which commits whatever changes made to it to the underlying Directory . |
long | commit() |