tool.lucene
public class Index extends Object
To update a document, you first have to delete it and then add it again. Unfortunately you can't do this simultaneously, as according to jGuru FAQ, you cannot have both an IndexReader doing deletes and IndexWriter adding at the same time.
Version: $Revision: 1.7 $ $Date: 2003/08/28 20:31:26 $
See Also: Search
Field Summary | |
---|---|
static String | USAGE |
static String | VERSION |
Constructor Summary | |
---|---|
Index(File index) |
Method Summary | |
---|---|
void | checkLock(boolean fforce) |
void | close() |
IndexWriter | getIndexWriter() |
static void | main(String[] argv) |