Interface OLuceneIndexEngine
- All Superinterfaces:
OBaseIndexEngine,OFreezableStorageComponent,OIndexEngine
- All Known Implementing Classes:
OLuceneCrossClassIndexEngine,OLuceneFullTextIndexEngine,OLuceneGeoSpatialIndexEngine,OLuceneIndexEngineAbstract,OLuceneLegacySpatialIndexEngine,OLuceneSpatialIndexEngineAbstract,OLuceneSpatialIndexEngineDelegator
Created by Enrico Risa on 04/09/15.
-
Field Summary
Fields inherited from interface com.orientechnologies.orient.core.index.engine.OIndexEngine
VERSION -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.document.DocumentbuildDocument(Object key, OIdentifiable value) org.apache.lucene.search.QuerybuildQuery(Object query) org.apache.lucene.search.QuerydeleteQuery(Object key, OIdentifiable value) getInTx(Object key, OLuceneTxChanges changes) org.apache.lucene.analysis.AnalyzerbooleanvoidonRecordAddedToResultSet(OLuceneQueryContext queryContext, OContextualRecordId recordId, org.apache.lucene.document.Document ret, org.apache.lucene.search.ScoreDoc score) org.apache.lucene.analysis.Analyzervoidrelease(org.apache.lucene.search.IndexSearcher searcher) booleanbooleanremove(Object key, OIdentifiable value) org.apache.lucene.search.IndexSearchersearcher()longsizeInTx(OLuceneTxChanges changes) Methods inherited from interface com.orientechnologies.orient.core.index.engine.OBaseIndexEngine
acquireAtomicExclusiveLock, applyTxChanges, clear, close, create, delete, descStream, flush, getId, getIndexNameByKey, getName, getUniqueIndexVersion, hasRangeQuerySupport, hasRidBagTreesSupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyStream, load, size, stream, updateUniqueIndexVersionMethods inherited from interface com.orientechnologies.orient.core.storage.impl.local.OFreezableStorageComponent
freeze, releaseMethods inherited from interface com.orientechnologies.orient.core.index.engine.OIndexEngine
get, getEngineAPIVersion, put, put, remove, remove, update, validatedPut
-
Method Details
-
indexName
String indexName() -
onRecordAddedToResultSet
void onRecordAddedToResultSet(OLuceneQueryContext queryContext, OContextualRecordId recordId, org.apache.lucene.document.Document ret, org.apache.lucene.search.ScoreDoc score) -
buildDocument
-
buildQuery
-
indexAnalyzer
org.apache.lucene.analysis.Analyzer indexAnalyzer() -
queryAnalyzer
org.apache.lucene.analysis.Analyzer queryAnalyzer() -
remove
-
remove
-
searcher
org.apache.lucene.search.IndexSearcher searcher() -
release
void release(org.apache.lucene.search.IndexSearcher searcher) -
getInTx
-
sizeInTx
-
buildTxChanges
- Throws:
IOException
-
deleteQuery
-
isCollectionIndex
boolean isCollectionIndex()
-