Class OIndexFullText
java.lang.Object
com.orientechnologies.orient.core.index.OIndexAbstract
com.orientechnologies.orient.core.index.OIndexMultiValues
com.orientechnologies.orient.core.index.OIndexFullText
- All Implemented Interfaces:
OIndex,OIndexInternal,Comparable<OIndex>
Deprecated.
Fast index for full-text searches.
- Author:
- Luca Garulli
-
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 TypeMethodDescriptionbooleanDeprecated.create(OIndexMetadata metadata, boolean rebuild, OProgressListener progressListener) Deprecated.Creates the index.put(Object key, OIdentifiable value) Deprecated.Indexes a value and save the index.booleanremove(Object key, OIdentifiable rid) Deprecated.Splits passed in key on several words and remove records with keys equals to any item of split result and values equals to passed in value.booleanDeprecated.Deprecated.Saves the index configuration to disk.Methods inherited from class com.orientechnologies.orient.core.index.OIndexMultiValues
calculateTxValue, descStream, get, getRids, getRidsIgnoreTx, isNativeTxSupported, size, stream, streamEntries, streamEntriesBetween, streamEntriesMajor, streamEntriesMinorMethods inherited from class com.orientechnologies.orient.core.index.OIndexAbstract
acquireAtomicExclusiveLock, acquireExclusiveLock, acquireSharedLock, addCluster, clear, close, compareTo, count, cursor, delete, descCursor, doDelete, doReloadIndexEngine, enhanceFromCompositeKeyBetweenAsc, enhanceFromCompositeKeyBetweenDesc, enhanceToCompositeKeyBetweenAsc, enhanceToCompositeKeyBetweenDesc, equals, flush, getAlgorithm, getClusters, getCollatingValue, getConfiguration, getDatabase, getDatabaseName, getDefinition, getFirstKey, getIndexId, getIndexNameByKey, getInternal, getKeySize, getKeyTypes, getLastKey, getMetadata, getName, getRebuildVersion, getSize, getType, getVersion, hashCode, hasRangeQuerySupport, interpretTxKeyChanges, isAutomatic, isRebuilding, isUnique, iterateEntries, iterateEntriesBetween, iterateEntriesMajor, iterateEntriesMinor, keyCursor, keyStream, loadFromConfiguration, loadMetadata, loadMetadataFromDoc, loadMetadataInternal, manualIndexesWarning, rebuild, rebuild, releaseExclusiveLock, releaseSharedLock, remove, removeCluster, toString
-
Constructor Details
-
OIndexFullText
Deprecated.
-
-
Method Details
-
put
Deprecated.Indexes a value and save the index. Splits the value in single words and index each one. Save of the index is responsibility of the caller.- Specified by:
putin interfaceOIndex- Overrides:
putin classOIndexMultiValues- Parameters:
key- Entry's keyvalue- Entry's value as OIdentifiable instance- Returns:
- The index instance itself to allow in chain calls
-
remove
Deprecated.Splits passed in key on several words and remove records with keys equals to any item of split result and values equals to passed in value.- Specified by:
removein interfaceOIndex- Overrides:
removein classOIndexMultiValues- Parameters:
key- Key to remove.rid- Value to remove.- Returns:
trueif at least one record is removed.
-
create
public OIndexMultiValues create(OIndexMetadata metadata, boolean rebuild, OProgressListener progressListener) Deprecated.Description copied from class:OIndexAbstractCreates the index.- Specified by:
createin interfaceOIndexInternal- Overrides:
createin classOIndexAbstract
-
updateConfiguration
Deprecated.Description copied from interface:OIndexInternalSaves the index configuration to disk.- Specified by:
updateConfigurationin interfaceOIndexInternal- Overrides:
updateConfigurationin classOIndexAbstract- Returns:
- The configuration as ODocument instance
- See Also:
-
canBeUsedInEqualityOperators
public boolean canBeUsedInEqualityOperators()Deprecated. -
supportsOrderedIterations
public boolean supportsOrderedIterations()Deprecated.
-