public interface LuceneIndexWriter
IndexWriter that exposes only some part of it's
functionality that it really needed and hides a fact that index is partitioned.| Modifier and Type | Method and Description |
|---|---|
void |
addDocument(org.apache.lucene.document.Document document) |
void |
addDocuments(int numDocs,
Iterable<org.apache.lucene.document.Document> document) |
void |
deleteDocuments(org.apache.lucene.search.Query query) |
void |
deleteDocuments(org.apache.lucene.index.Term term) |
void |
updateDocument(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document) |
void addDocument(org.apache.lucene.document.Document document)
throws IOException
IOExceptionvoid addDocuments(int numDocs,
Iterable<org.apache.lucene.document.Document> document)
throws IOException
IOExceptionvoid updateDocument(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document)
throws IOException
IOExceptionvoid deleteDocuments(org.apache.lucene.index.Term term)
throws IOException
IOExceptionvoid deleteDocuments(org.apache.lucene.search.Query query)
throws IOException
IOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.