
public class OLuceneLegacySpatialIndexEngine extends OLuceneSpatialIndexEngineAbstract
OBaseIndexEngine.Validator<K,V>, OBaseIndexEngine.ValuesTransformerctx, factory, queryStrategy, strategy, strategyFactorycollectionFields, indexDefinition, KEY, metadata, name, RID, versionVERSION| Constructor and Description |
|---|
OLuceneLegacySpatialIndexEngine(OStorage storage,
String indexName,
int id,
OShapeBuilder factory) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.document.Document |
buildDocument(Object key,
OIdentifiable value) |
protected org.apache.lucene.spatial.SpatialStrategy |
createSpatialStrategy(OIndexDefinition indexDefinition,
ODocument metadata) |
Object |
get(Object key) |
Set<OIdentifiable> |
getInTx(Object key,
OLuceneTxChanges changes) |
boolean |
isLegacy() |
void |
onRecordAddedToResultSet(OLuceneQueryContext queryContext,
OContextualRecordId recordId,
org.apache.lucene.document.Document doc,
org.apache.lucene.search.ScoreDoc score) |
void |
put(OAtomicOperation atomicOperation,
Object key,
Object value) |
void |
update(OAtomicOperation atomicOperation,
Object key,
OIndexKeyUpdater<Object> updater) |
boolean |
validatedPut(OAtomicOperation atomicOperation,
Object key,
ORID value,
OBaseIndexEngine.Validator<Object,ORID> validator)
Puts the given value under the given key into this index engine.
|
buildQuery, createIndexWriter, hasRangeQuerySupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyStream, newGeoDocument, remove, strategy, streamacquireAtomicExclusiveLock, addDocument, buildTxChanges, clear, close, create, delete, deleteQuery, descStream, flush, freeze, getDatabase, getId, getIndexNameByKey, getName, indexAnalyzer, indexName, isCollectionIndex, load, openIfClosed, openIfClosed, queryAnalyzer, release, release, remove, searcher, size, sizeInTx, updateLastAccessacquireExclusiveLock, acquireSharedLock, releaseExclusiveLock, releaseSharedLock, tryAcquireExclusiveLock, tryAcquireSharedLockaddUser, assertExclusiveLockHold, assertSharedLockHold, getUsers, isConcurrent, removeUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchergetEngineAPIVersionpublic OLuceneLegacySpatialIndexEngine(OStorage storage, String indexName, int id, OShapeBuilder factory)
public void onRecordAddedToResultSet(OLuceneQueryContext queryContext, OContextualRecordId recordId, org.apache.lucene.document.Document doc, org.apache.lucene.search.ScoreDoc score)
onRecordAddedToResultSet in interface OLuceneIndexEngineonRecordAddedToResultSet in class OLuceneIndexEngineAbstractpublic Set<OIdentifiable> getInTx(Object key, OLuceneTxChanges changes)
public void put(OAtomicOperation atomicOperation, Object key, Object value)
public void update(OAtomicOperation atomicOperation, Object key, OIndexKeyUpdater<Object> updater)
public boolean validatedPut(OAtomicOperation atomicOperation, Object key, ORID value, OBaseIndexEngine.Validator<Object,ORID> validator)
OIndexEnginekey - the key to put the value under.value - the value to put.validator - the operation validator.true if the validator allowed the put, false otherwise.Validator#validate(Object, Object, Object)public org.apache.lucene.document.Document buildDocument(Object key, OIdentifiable value)
buildDocument in interface OLuceneIndexEnginebuildDocument in class OLuceneSpatialIndexEngineAbstractprotected org.apache.lucene.spatial.SpatialStrategy createSpatialStrategy(OIndexDefinition indexDefinition, ODocument metadata)
createSpatialStrategy in class OLuceneSpatialIndexEngineAbstractpublic boolean isLegacy()
Copyright © 2009–2025 OrientDB. All rights reserved.