public interface DocWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Commits and closes the underlying IndexWriter.
|
void |
commit()
Commits all changes to the index, making them visible to readers.
|
void |
delete(String uri)
Deletes the document having the given uri, if it exists.
|
void |
deleteAll()
Deletes all documents in the index.
|
void |
write(net.sf.saxon.om.NodeInfo node,
String uri)
Writes a document to the index at the given uri, with the node as its root element.
|
void write(net.sf.saxon.om.NodeInfo node,
String uri)
node - A node to write as a documenturi - The uri of the documentvoid delete(String uri)
uri - void deleteAll()
void commit()
void close()
Copyright © 2013. All Rights Reserved.