IndexPropertyMapping

data class IndexPropertyMapping(val dimension: Int? = null, val index: Boolean? = null, val method: IndexPropertyMappingMethodProperties? = null, val properties: Map<String, IndexPropertyMapping>? = null, val type: IndexPropertyMappingType, val value: String? = null)

Constructors

Link copied to clipboard
constructor(dimension: Int? = null, index: Boolean? = null, method: IndexPropertyMappingMethodProperties? = null, properties: Map<String, IndexPropertyMapping>? = null, type: IndexPropertyMappingType, value: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val dimension: Int? = null

Dimension size for vector fields, defines the number of dimensions in the vector

Link copied to clipboard
val index: Boolean? = null

Whether a field should be indexed

Link copied to clipboard

Configuration for k-NN search method

Link copied to clipboard

Nested fields within an object or nested field type

Link copied to clipboard

The field data type. Must be a valid OpenSearch field type.

Link copied to clipboard
val value: String? = null

Default value for the field when not specified in a document