public static class NRTManager.TrackingIndexWriter extends Object
| Constructor and Description |
|---|
NRTManager.TrackingIndexWriter(IndexWriter writer) |
public NRTManager.TrackingIndexWriter(IndexWriter writer)
public long updateDocument(Term t, Iterable<? extends IndexableField> d, Analyzer a) throws IOException
IOExceptionpublic long updateDocument(Term t, Iterable<? extends IndexableField> d) throws IOException
IOExceptionpublic long updateDocuments(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) throws IOException
IOExceptionpublic long updateDocuments(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs) throws IOException
IOExceptionpublic long deleteDocuments(Term t) throws IOException
IOExceptionpublic long deleteDocuments(Term... terms) throws IOException
IOExceptionpublic long deleteDocuments(Query q) throws IOException
IOExceptionpublic long deleteDocuments(Query... queries) throws IOException
IOExceptionpublic long deleteAll()
throws IOException
IOExceptionpublic long addDocument(Iterable<? extends IndexableField> d, Analyzer a) throws IOException
IOExceptionpublic long addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) throws IOException
IOExceptionpublic long addDocument(Iterable<? extends IndexableField> d) throws IOException
IOExceptionpublic long addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs) throws IOException
IOExceptionpublic long addIndexes(Directory... dirs) throws IOException
IOExceptionpublic long addIndexes(IndexReader... readers) throws IOException
IOExceptionpublic long getGeneration()
public IndexWriter getIndexWriter()
public long tryDeleteDocument(IndexReader reader, int docID) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.