public abstract class AbstractLuceneIndex extends AbstractSearchIndex
Modifier and Type | Field and Description |
---|---|
protected Collection<AbstractReaderMonitor> |
oldmonitors
keep a lit of old monitors that are still iterating but not closed (open iterators), will be all closed on
shutdown items are removed from list by ReaderMnitor.endReading() when closing
|
maxDocs, wktFields
Constructor and Description |
---|
AbstractLuceneIndex() |
Modifier and Type | Method and Description |
---|---|
void |
beginReading() |
void |
endReading() |
protected abstract AbstractReaderMonitor |
getCurrentMonitor() |
Collection<AbstractReaderMonitor> |
getOldMonitors() |
accept, addDocument, addDocuments, addRemoveStatements, addStatement, copyDocument, deleteDocument, evaluate, evaluate, geoQuery, geoRelationQuery, getDocument, getDocuments, getResource, getSpatialContext, initialize, isGeoField, newBulkUpdate, newDocument, parseQuery, parseQueryShape, query, removeStatement, updateDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
begin, clear, clearContexts, commit, rollback, shutDown
protected final Collection<AbstractReaderMonitor> oldmonitors
protected abstract AbstractReaderMonitor getCurrentMonitor()
public void beginReading()
public void endReading() throws IOException
IOException
public Collection<AbstractReaderMonitor> getOldMonitors()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.