|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Defines a field in the index, including its name, type, and the source of its data. The
IndexFieldType indicates which of the options will be present. It is invalid to specify options for a type other than the
The name of a field in the search index. Field names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Uppercase letters and hyphens are not allowed. The names "body", "docid", and "text_relevance" are reserved and cannot be specified as field or rank expression names.
Length constraints: Minimum length of 1. Maximum length of 64.
uint | literal | text
Options for literal field. Present if
IndexFieldType specifies the field is of type literal.
An optional list of source attributes that provide data for this index field. If not specified, the data is pulled from a source attribute with the same name as this
IndexField. When one or more source attributes are specified, an optional data transformation can be applied to the source data when populating the index field. You can configure a maximum of 20 sources for an
Type: SourceAttribute list
Options for text field. Present if
IndexFieldType specifies the field is of type text.
Options for an unsigned integer field. Present if
IndexFieldType specifies the field is of type unsigned integer.