Creates a new DomainIndexField.
analysisScheme The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.
defaultValue The default value for the field. This value is used when no value is specified for the field in the document data.
facet You can get facet information by enabling this.
highlight You can highlight information.
name A unique name for the field. Field names must begin with a letter and be at least 1 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.
return_ You can enable returning the value of all searchable fields.
search You can set whether this index should be searchable or not.
sort You can enable the property to be sortable.
sourceFields A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.
type The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.
The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.
A unique name for the field. Field names must begin with a letter and be at least 1 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.
A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.