libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudSearch.Types.IndexField

Description

 
Synopsis

Documentation

data IndexField Source #

Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.

See: newIndexField smart constructor.

Constructors

IndexField' 

Fields

Instances

Instances details
Eq IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

Read IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

Show IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

Generic IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

Associated Types

type Rep IndexField :: Type -> Type #

NFData IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

Methods

rnf :: IndexField -> () #

Hashable IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

ToQuery IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

FromXML IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

type Rep IndexField Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.IndexField

type Rep IndexField = D1 ('MetaData "IndexField" "Amazonka.CloudSearch.Types.IndexField" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "IndexField'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "doubleArrayOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DoubleArrayOptions)) :*: (S1 ('MetaSel ('Just "dateOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateOptions)) :*: S1 ('MetaSel ('Just "textArrayOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextArrayOptions)))) :*: (S1 ('MetaSel ('Just "doubleOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DoubleOptions)) :*: (S1 ('MetaSel ('Just "textOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextOptions)) :*: S1 ('MetaSel ('Just "latLonOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LatLonOptions))))) :*: ((S1 ('MetaSel ('Just "literalArrayOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LiteralArrayOptions)) :*: (S1 ('MetaSel ('Just "intArrayOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntArrayOptions)) :*: S1 ('MetaSel ('Just "dateArrayOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateArrayOptions)))) :*: ((S1 ('MetaSel ('Just "intOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntOptions)) :*: S1 ('MetaSel ('Just "literalOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LiteralOptions))) :*: (S1 ('MetaSel ('Just "indexFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexFieldType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IndexFieldType))))))

newIndexField Source #

Create a value of IndexField with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:doubleArrayOptions:IndexField', indexField_doubleArrayOptions - Undocumented member.

$sel:dateOptions:IndexField', indexField_dateOptions - Undocumented member.

$sel:textArrayOptions:IndexField', indexField_textArrayOptions - Undocumented member.

$sel:doubleOptions:IndexField', indexField_doubleOptions - Undocumented member.

$sel:textOptions:IndexField', indexField_textOptions - Undocumented member.

$sel:latLonOptions:IndexField', indexField_latLonOptions - Undocumented member.

$sel:literalArrayOptions:IndexField', indexField_literalArrayOptions - Undocumented member.

$sel:intArrayOptions:IndexField', indexField_intArrayOptions - Undocumented member.

$sel:dateArrayOptions:IndexField', indexField_dateArrayOptions - Undocumented member.

$sel:intOptions:IndexField', indexField_intOptions - Undocumented member.

$sel:literalOptions:IndexField', indexField_literalOptions - Undocumented member.

$sel:indexFieldName:IndexField', indexField_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.

$sel:indexFieldType:IndexField', indexField_indexFieldType - Undocumented member.

indexField_indexFieldName :: Lens' IndexField Text Source #

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.