Module Values.AttributeSuggestionsGetConfigSource

Provides the configuration information for the document fields/attributes that you want to base query suggestions on.

Sourcetype nonrec t = {
  1. suggestionAttributes : DocumentAttributeKeyList.t option;
    (*

    The list of document field/attribute keys or field names to use for query suggestions. If the content within any of the fields match what your user starts typing as their query, then the field content is returned as a query suggestion.

    *)
  2. additionalResponseAttributes : DocumentAttributeKeyList.t option;
    (*

    The list of additional document field/attribute keys or field names to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.

    *)
  3. attributeFilter : AttributeFilter.t option;
    (*

    Filters the search results based on document fields/attributes.

    *)
  4. userContext : UserContext.t option;
    (*

    Applies user context filtering so that only users who are given access to certain documents see these document in their search results.

    *)
}
Sourceval make : ?suggestionAttributes:??? -> ?additionalResponseAttributes:??? -> ?attributeFilter:??? -> ?userContext:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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