Module Values.SearchSource

Provides information about how a custom index field is used during a search.

Sourcetype nonrec t = {
  1. facetable : Boolean.t option;
    (*

    Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is false .

    *)
  2. searchable : Boolean.t option;
    (*

    Determines whether the field is used in the search. If the Searchable field is true, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is true for string fields and false for number and date fields.

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

    Determines whether the field is returned in the query response. The default is true.

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

    Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have Sortable set to true, Amazon Kendra returns an exception. The default is false.

    *)
}
Sourceval make : ?facetable:??? -> ?searchable:??? -> ?displayable:??? -> ?sortable:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.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