Module Values.IndexFieldSource

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

Sourcetype nonrec t = {
  1. indexFieldName : DynamicFieldName.t;
    (*

    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.

    *)
  2. indexFieldType : IndexFieldType.t;
  3. intOptions : IntOptions.t option;
  4. doubleOptions : DoubleOptions.t option;
  5. literalOptions : LiteralOptions.t option;
  6. textOptions : TextOptions.t option;
  7. dateOptions : DateOptions.t option;
  8. latLonOptions : LatLonOptions.t option;
  9. intArrayOptions : IntArrayOptions.t option;
  10. doubleArrayOptions : DoubleArrayOptions.t option;
  11. literalArrayOptions : LiteralArrayOptions.t option;
  12. textArrayOptions : TextArrayOptions.t option;
  13. dateArrayOptions : DateArrayOptions.t option;
}
Sourceval context_ : string
Sourceval make : ?intOptions:??? -> ?doubleOptions:??? -> ?literalOptions:??? -> ?textOptions:??? -> ?dateOptions:??? -> ?latLonOptions:??? -> ?intArrayOptions:??? -> ?doubleArrayOptions:??? -> ?literalArrayOptions:??? -> ?textArrayOptions:??? -> ?dateArrayOptions:??? -> indexFieldName:DynamicFieldName.t -> indexFieldType:IndexFieldType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DynamicFieldName.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Long of Long.t | `String of FieldName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t