public class BasicIndexWriter extends AbstractIndexWriter
The class is used to initialize and write index to disk
Copyright: Copyright (c) 2005
Company: IST, Drexel University
collection, doc_cache_size, doc_in_cache, docIndexList, docrelationMatrix, doctermMatrix, initialized, relationIndexList, relationSupported, termIndexList| Constructor and Description |
|---|
BasicIndexWriter(String directory,
boolean relationSupported) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
For disk-based indexing, this method delete all files under the indexing folder.
|
void |
close() |
void |
flush()
For disk-based indexing, this method dump all information in memory to the files on disk.
|
void |
initialize()
It is required to call this method before calling the write method
|
size, write, writepublic BasicIndexWriter(String directory, boolean relationSupported)
public void initialize()
IndexWriterpublic void flush()
IndexWriterpublic void close()
public void clean()
IndexWriterCopyright © 2018 JULIE Lab, Germany. All rights reserved.