Module Values.TextArrayOptionsSource

Options for a field that contains an array of text strings. Present if IndexFieldType specifies the field is of type text-array. A text-array field is always searchable. All options are enabled by default.

Sourcetype nonrec t = {
  1. defaultValue : FieldValue.t option;
    (*

    A value to use for the field if the field isn't specified for a document.

    *)
  2. sourceFields : FieldNameCommaList.t option;
    (*

    A list of source fields to map to the field.

    *)
  3. returnEnabled : Boolean.t option;
    (*

    Whether the contents of the field can be returned in the search results.

    *)
  4. highlightEnabled : Boolean.t option;
    (*

    Whether highlights can be returned for the field.

    *)
  5. analysisScheme : Word.t option;
    (*

    The name of an analysis scheme for a text-array field.

    *)
}
Sourceval make : ?defaultValue:??? -> ?sourceFields:??? -> ?returnEnabled:??? -> ?highlightEnabled:??? -> ?analysisScheme:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of FieldValue.t ]) 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