Packages

o

org.mongodb.scala.model

SearchIndexModel

object SearchIndexModel

A model describing the creation of a single Atlas Search index.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SearchIndexModel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(indexName: Option[String], definition: Bson, indexType: Option[SearchIndexType]): SearchIndexModel

    Construct an instance with the given search index name and definition.

    Construct an instance with the given search index name and definition.

    indexName

    the name of the search index to create.

    definition

    the search index mapping definition.

    indexType

    the search index type.

    returns

    the SearchIndexModel

  5. def apply(indexName: String, definition: VectorSearchIndexDefinition): SearchIndexModel

    Construct a vector search index instance with the given name and definition.

    Construct a vector search index instance with the given name and definition.

    The index type is automatically set to vectorSearch.

    indexName

    the name of the search index to create.

    definition

    the vector search index definition.

    returns

    the SearchIndexModel

    Since

    5.8

  6. def apply(indexName: String, definition: Bson): SearchIndexModel

    Construct an instance with the given search index name and definition.

    Construct an instance with the given search index name and definition.

    indexName

    the name of the search index to create.

    definition

    the search index mapping definition.

    returns

    the SearchIndexModel

  7. def apply(definition: Bson): SearchIndexModel

    Construct an instance with the given Atlas Search index mapping definition.

    Construct an instance with the given Atlas Search index mapping definition.

    After calling this constructor, the name field will be null. In that case, when passing this SearchIndexModel to the createSearchIndexes method, the default search index name default will be used to create the search index.

    definition

    the search index mapping definition.

    returns

    the SearchIndexModel

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped