Module Values.DocumentRelevanceConfigurationSource

Overrides the document relevance properties of a custom index field.

Sourcetype nonrec t = {
  1. name : DocumentMetadataConfigurationName.t;
    (*

    The name of the index field.

    *)
  2. relevance : Relevance.t;
    (*

    Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.

    *)
}
Sourceval context_ : string
Sourceval make : name:DocumentMetadataConfigurationName.t -> relevance:Relevance.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DocumentMetadataConfigurationName.t | `Structure of (string * [> `Boolean of DocumentMetadataBoolean.t | `Enum of string | `Integer of Importance.t | `Map of ([> `String of ValueImportanceMapKey.t ] * [> `Integer of Importance.t ]) list | `String of Duration.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