|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--dragon.ir.index.AbstractIndexWriter
|
+--dragon.ir.index.BasicIndexWriter
The class is used to initialize and write index to disk
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Field Summary |
| Fields inherited from class dragon.ir.index.AbstractIndexWriter |
collection, doc_cache_size, doc_in_cache, docIndexList, docrelationMatrix, doctermMatrix, initialized, relationIndexList, relationSupported, termIndexList |
| Constructor Summary | |
BasicIndexWriter(java.lang.String directory,
boolean relationSupported)
|
|
| Method Summary | |
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 |
| Methods inherited from class dragon.ir.index.AbstractIndexWriter |
size, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicIndexWriter(java.lang.String directory,
boolean relationSupported)
| Method Detail |
public void initialize()
IndexWriter
public void flush()
IndexWriter
public void close()
public void clean()
IndexWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||