Module Values.SuggestableConfigSource

Provides the configuration information for a document field/attribute that you want to base query suggestions on.

Sourcetype nonrec t = {
  1. attributeName : DocumentAttributeKey.t option;
    (*

    The name of the document field/attribute.

    *)
  2. suggestable : ObjectBoolean.t option;
    (*

    TRUE means the document field/attribute is suggestible, so the contents within the field can be used for query suggestions.

    *)
}
Sourceval make : ?attributeName:??? -> ?suggestable:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ObjectBoolean.t | `String of DocumentAttributeKey.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