Class OIndexFullText

All Implemented Interfaces:
OIndex, OIndexInternal, Comparable<OIndex>

@Deprecated public class OIndexFullText extends OIndexMultiValues
Deprecated.
Fast index for full-text searches.
Author:
Luca Garulli
  • Constructor Details

  • Method Details

    • put

      public OIndexFullText put(Object key, OIdentifiable value)
      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:
      put in interface OIndex
      Overrides:
      put in class OIndexMultiValues
      Parameters:
      key - Entry's key
      value - Entry's value as OIdentifiable instance
      Returns:
      The index instance itself to allow in chain calls
    • remove

      public boolean remove(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.
      Specified by:
      remove in interface OIndex
      Overrides:
      remove in class OIndexMultiValues
      Parameters:
      key - Key to remove.
      rid - Value to remove.
      Returns:
      true if at least one record is removed.
    • create

      public OIndexMultiValues create(OIndexMetadata metadata, boolean rebuild, OProgressListener progressListener)
      Deprecated.
      Description copied from class: OIndexAbstract
      Creates the index.
      Specified by:
      create in interface OIndexInternal
      Overrides:
      create in class OIndexAbstract
    • updateConfiguration

      public ODocument updateConfiguration()
      Deprecated.
      Description copied from interface: OIndexInternal
      Saves the index configuration to disk.
      Specified by:
      updateConfiguration in interface OIndexInternal
      Overrides:
      updateConfiguration in class OIndexAbstract
      Returns:
      The configuration as ODocument instance
      See Also:
    • canBeUsedInEqualityOperators

      public boolean canBeUsedInEqualityOperators()
      Deprecated.
    • supportsOrderedIterations

      public boolean supportsOrderedIterations()
      Deprecated.