Module Values.SuggesterSource

Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester: FuzzyMatching, SortExpression.

Sourcetype nonrec t = {
  1. suggesterName : StandardName.t;
  2. documentSuggesterOptions : DocumentSuggesterOptions.t;
}
Sourceval context_ : string
Sourceval make : suggesterName:StandardName.t -> documentSuggesterOptions:DocumentSuggesterOptions.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StandardName.t | `Structure of (string * [> `Enum of string | `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