Class OLuceneFullTextIndex
java.lang.Object
com.orientechnologies.orient.core.index.OIndexAbstract
com.orientechnologies.lucene.index.OLuceneIndexNotUnique
com.orientechnologies.lucene.index.OLuceneFullTextIndex
- All Implemented Interfaces:
OLuceneIndex,OIndex,OIndexInternal,Comparable<OIndex>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.orient.core.index.OIndexAbstract
OIndexAbstract.PartialSearchMode -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.index.OIndexAbstract
apiVersion, CONFIG_MAP_RID, im, indexId, storageFields inherited from interface com.orientechnologies.orient.core.index.OIndexInternal
ALGORITHM, CONFIG_AUTOMATIC, CONFIG_KEYTYPE, CONFIG_NAME, CONFIG_TYPE, INDEX_DEFINITION, INDEX_DEFINITION_CLASS, INDEX_VERSION, MERGE_KEYS, METADATA, VALUE_CONTAINER_ALGORITHM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.document.DocumentbuildDocument(Object key, OIdentifiable identifieable) org.apache.lucene.search.QuerybuildQuery(Object query) org.apache.lucene.analysis.AnalyzerbooleanTells if the index is automatic.booleanorg.apache.lucene.analysis.AnalyzerMethods inherited from class com.orientechnologies.lucene.index.OLuceneIndexNotUnique
canBeUsedInEqualityOperators, decodeKey, descStream, doDelete, encodeKey, get, getCollatingValue, getRids, getRidsIgnoreTx, interpretTxKeyChanges, isNativeTxSupported, populateIndex, put, rebuild, remove, remove, removeCluster, searcher, size, stream, streamEntries, streamEntriesBetween, streamEntriesMajor, streamEntriesMinor, supportsOrderedIterationsMethods inherited from class com.orientechnologies.orient.core.index.OIndexAbstract
acquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, clear, close, compareTo, count, create, cursor, delete, descCursor, doReloadIndexEngine, enhanceFromCompositeKeyBetweenAsc, enhanceFromCompositeKeyBetweenDesc, enhanceToCompositeKeyBetweenAsc, enhanceToCompositeKeyBetweenDesc, equals, flush, getAlgorithm, getClusters, getConfiguration, getDatabase, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeySize, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getSize, getType, getVersion, hashCode, hasRangeQuerySupport, isRebuilding, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, keyStream, loadFromConfiguration, loadMetadata, loadMetadataFromDoc, loadMetadataInternal, manualIndexesWarning, rebuild, releaseExclusiveLock, releaseSharedLock, toString, updateConfiguration
-
Constructor Details
-
OLuceneFullTextIndex
-
-
Method Details
-
buildDocument
-
buildQuery
-
queryAnalyzer
public org.apache.lucene.analysis.Analyzer queryAnalyzer() -
isCollectionIndex
public boolean isCollectionIndex() -
indexAnalyzer
public org.apache.lucene.analysis.Analyzer indexAnalyzer() -
isAutomatic
public boolean isAutomatic()Description copied from interface:OIndexTells if the index is automatic. Automatic means it's maintained automatically by OrientDB. This is the case of indexes created against schema properties. Automatic indexes can always been rebuilt.- Specified by:
isAutomaticin interfaceOIndex- Overrides:
isAutomaticin classOIndexAbstract- Returns:
- True if the index is automatic, otherwise false
-