ToCopyableBuilder<IndexField.Builder,IndexField>
@Generated("software.amazon.awssdk:codegen") public class IndexField extends Object implements ToCopyableBuilder<IndexField.Builder,IndexField>
Configuration information for a field in the index, including its name, type, and options. The supported options
depend on the IndexFieldType
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
IndexField.Builder |
Modifier and Type | Method | Description |
---|---|---|
static IndexField.Builder |
builder() |
|
DateArrayOptions |
dateArrayOptions() |
|
DateOptions |
dateOptions() |
|
DoubleArrayOptions |
doubleArrayOptions() |
|
DoubleOptions |
doubleOptions() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
indexFieldName() |
A string that represents the name of an index field.
|
String |
indexFieldType() |
|
IntArrayOptions |
intArrayOptions() |
|
IntOptions |
intOptions() |
|
LatLonOptions |
latLonOptions() |
|
LiteralArrayOptions |
literalArrayOptions() |
|
LiteralOptions |
literalOptions() |
|
static Class<? extends IndexField.Builder> |
serializableBuilderClass() |
|
TextArrayOptions |
textArrayOptions() |
|
TextOptions |
textOptions() |
|
IndexField.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String indexFieldName()
A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options.
Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported.
The name score
is reserved and cannot be used as a field name. To reference a document's ID, you can
use the name _id
.
Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported.
The name score
is reserved and cannot be used as a field name. To reference a document's ID,
you can use the name _id
.
public String indexFieldType()
IndexFieldType
public IntOptions intOptions()
public DoubleOptions doubleOptions()
public LiteralOptions literalOptions()
public TextOptions textOptions()
public DateOptions dateOptions()
public LatLonOptions latLonOptions()
public IntArrayOptions intArrayOptions()
public DoubleArrayOptions doubleArrayOptions()
public LiteralArrayOptions literalArrayOptions()
public TextArrayOptions textArrayOptions()
public DateArrayOptions dateArrayOptions()
public IndexField.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IndexField.Builder,IndexField>
public static IndexField.Builder builder()
public static Class<? extends IndexField.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.