Class VectorQuery

Represents a vector query.

Uncommitted: This API is subject to change in the future.

Hierarchy

  • VectorQuery

Constructors

  • Parameters

    • fieldName: string
    • vector: number[]

    Returns VectorQuery

Methods

  • Adds boost option to vector query.

    Uncommitted: This API is subject to change in the future.

    Parameters

    • boost: number

      A floating point value.

    Returns VectorQuery

  • Adds numCandidates option to vector query. Value must be >= 1.

    Uncommitted: This API is subject to change in the future.

    Parameters

    • numCandidates: number

      An integer value.

    Returns VectorQuery

  • Creates a vector query.

    Uncommitted: This API is subject to change in the future.

    Parameters

    • fieldName: string

      The name of the field in the JSON document that holds the vector.

    • vector: number[]

      List of floating point values that represent the vector.

    Returns VectorQuery

Generated using TypeDoc