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
IOException
public long updateDocument(Term t, Iterable<? extends IndexableField> d) throws IOException
IOException
public long updateDocuments(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) throws IOException
IOException
public long updateDocuments(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs) throws IOException
IOException
public long deleteDocuments(Term t) throws IOException
IOException
public long deleteDocuments(Term... terms) throws IOException
IOException
public long deleteDocuments(Query q) throws IOException
IOException
public long deleteDocuments(Query... queries) throws IOException
IOException
public long deleteAll() throws IOException
IOException
public long addDocument(Iterable<? extends IndexableField> d, Analyzer a) throws IOException
IOException
public long addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a) throws IOException
IOException
public long addDocument(Iterable<? extends IndexableField> d) throws IOException
IOException
public long addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs) throws IOException
IOException
public long addIndexes(Directory... dirs) throws IOException
IOException
public long addIndexes(IndexReader... readers) throws IOException
IOException
public long getGeneration()
public IndexWriter getIndexWriter()
public long tryDeleteDocument(IndexReader reader, int docID) throws IOException
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.