SearchIndexSchemaFieldSchemaArgs

data class SearchIndexSchemaFieldSchemaArgs(val analyzer: Output<String>? = null, val enableSortAndAgg: Output<Boolean>? = null, val fieldName: Output<String>, val fieldType: Output<String>, val index: Output<Boolean>? = null, val isArray: Output<Boolean>? = null, val store: Output<Boolean>? = null) : ConvertibleToJava<SearchIndexSchemaFieldSchemaArgs>

Constructors

Link copied to clipboard
constructor(analyzer: Output<String>? = null, enableSortAndAgg: Output<Boolean>? = null, fieldName: Output<String>, fieldType: Output<String>, index: Output<Boolean>? = null, isArray: Output<Boolean>? = null, store: Output<Boolean>? = null)

Properties

Link copied to clipboard
val analyzer: Output<String>? = null

Specifies the type of the analyzer that you want to use. If fieldType is set to Text, you can configure this parameter. Otherwise, the default analyzer type single-word tokenization is used.

Link copied to clipboard
val enableSortAndAgg: Output<Boolean>? = null

Specifies whether to enable sorting and aggregation. Type: Boolean. Sorting can be enabled only for fields for which enable_sort_and_agg is set to true.

Link copied to clipboard
val fieldName: Output<String>

The name of the field that is used to sort data. only required if sorter_type is FieldSort.

Link copied to clipboard
val fieldType: Output<String>

Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.

Link copied to clipboard
val index: Output<Boolean>? = null

Specifies whether to enable indexing for the column. Type: Boolean.

Link copied to clipboard
val isArray: Output<Boolean>? = null

Specifies whether the value is an array. Type: Boolean.

Link copied to clipboard
val store: Output<Boolean>? = null

Specifies whether to store the value of the field in the search index. Type: Boolean. If you set store to true, you can read the value of the field from the search index without querying the data table. This improves query performance.

Functions

Link copied to clipboard
open override fun toJava(): SearchIndexSchemaFieldSchemaArgs