public interface LuceneIndexWriter
Modifier and Type | Method and Description |
---|---|
boolean |
close(long timestamp)
Closes the underlying writer.
|
void |
deleteDocuments(String path)
Deletes Lucene Documents which are same or child of given path
|
void |
updateDocument(String path,
Iterable<? extends org.apache.lucene.index.IndexableField> doc)
Updates the Lucene document having given path
|
void updateDocument(String path, Iterable<? extends org.apache.lucene.index.IndexableField> doc) throws IOException
path
- path of the NodeState which the Document representsdoc
- updated documentIOException
void deleteDocuments(String path) throws IOException
path
- path whose children need to be deletedIOException
boolean close(long timestamp) throws IOException
timestamp
- timestamp to be used for recording at status in NodeBuilderIOException
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.