Interface SearchSchemaElement.Builder

  • Method Details

    • attributeName

      SearchSchemaElement.Builder attributeName(String attributeName)

      The name of the attribute.

      Parameters:
      attributeName - The name of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • searchSchemaElementType

      SearchSchemaElement.Builder searchSchemaElementType(String searchSchemaElementType)

      The role of the attribute in the search schema. Valid values:

      • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

      • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.

      Parameters:
      searchSchemaElementType - The role of the attribute in the search schema. Valid values:

      • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

      • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • searchSchemaElementType

      SearchSchemaElement.Builder searchSchemaElementType(SearchSchemaElementType searchSchemaElementType)

      The role of the attribute in the search schema. Valid values:

      • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

      • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.

      Parameters:
      searchSchemaElementType - The role of the attribute in the search schema. Valid values:

      • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

      • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: