|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocWriter
DocWriter supports the insertion and deletion of documents via xquery. Writes and deletes are not visible until commit() is called.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||