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, parseLuceneQueryShape, parseQuery, parseQueryPoint, parseQueryShape, query, removeStatement, updateDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, clear, clearContexts, commit, rollback, shutDownprotected final Collection<AbstractReaderMonitor> oldmonitors
protected abstract AbstractReaderMonitor getCurrentMonitor()
public void beginReading()
public void endReading()
throws IOException
IOExceptionpublic Collection<AbstractReaderMonitor> getOldMonitors()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.