public interface OLuceneIndexEngine extends OIndexEngine, OFreezableStorageComponent
OBaseIndexEngine.Validator<K,V>, OBaseIndexEngine.ValuesTransformer
VERSION
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.Document |
buildDocument(Object key,
OIdentifiable value) |
org.apache.lucene.search.Query |
buildQuery(Object query) |
OLuceneTxChanges |
buildTxChanges() |
org.apache.lucene.search.Query |
deleteQuery(Object key,
OIdentifiable value) |
Set<OIdentifiable> |
getInTx(Object key,
OLuceneTxChanges changes) |
org.apache.lucene.analysis.Analyzer |
indexAnalyzer() |
String |
indexName() |
boolean |
isCollectionIndex() |
void |
onRecordAddedToResultSet(OLuceneQueryContext queryContext,
OContextualRecordId recordId,
org.apache.lucene.document.Document ret,
org.apache.lucene.search.ScoreDoc score) |
org.apache.lucene.analysis.Analyzer |
queryAnalyzer() |
void |
release(org.apache.lucene.search.IndexSearcher searcher) |
boolean |
remove(Object key,
OIdentifiable value) |
org.apache.lucene.search.IndexSearcher |
searcher() |
long |
sizeInTx(OLuceneTxChanges changes) |
get, getEngineAPIVersion, load, put, remove, update, validatedPut
acquireAtomicExclusiveLock, clear, close, create, delete, descStream, flush, getId, getIndexNameByKey, getName, hasRangeQuerySupport, init, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyStream, size, stream
freeze, release
String indexName()
void onRecordAddedToResultSet(OLuceneQueryContext queryContext, OContextualRecordId recordId, org.apache.lucene.document.Document ret, org.apache.lucene.search.ScoreDoc score)
org.apache.lucene.document.Document buildDocument(Object key, OIdentifiable value)
org.apache.lucene.search.Query buildQuery(Object query)
org.apache.lucene.analysis.Analyzer indexAnalyzer()
org.apache.lucene.analysis.Analyzer queryAnalyzer()
boolean remove(Object key, OIdentifiable value)
org.apache.lucene.search.IndexSearcher searcher()
void release(org.apache.lucene.search.IndexSearcher searcher)
Set<OIdentifiable> getInTx(Object key, OLuceneTxChanges changes)
long sizeInTx(OLuceneTxChanges changes)
OLuceneTxChanges buildTxChanges() throws IOException
IOException
org.apache.lucene.search.Query deleteQuery(Object key, OIdentifiable value)
boolean isCollectionIndex()
Copyright © 2009–2020 OrientDB. All rights reserved.