Module Values.DoubleOptionsSource

Options for a double-precision 64-bit floating point field. Present if IndexFieldType specifies the field is of type double. All options are enabled by default.

Sourcetype nonrec t = {
  1. defaultValue : Double.t option;
    (*

    A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.

    *)
  2. sourceField : FieldName.t option;
    (*

    The name of the source field to map to the field.

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

    Whether facet information can be returned for the field.

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

    Whether the contents of the field are searchable.

    *)
  5. returnEnabled : Boolean.t option;
    (*

    Whether the contents of the field can be returned in the search results.

    *)
  6. sortEnabled : Boolean.t option;
    (*

    Whether the field can be used to sort the search results.

    *)
}
Sourceval make : ?defaultValue:??? -> ?sourceField:??? -> ?facetEnabled:??? -> ?searchEnabled:??? -> ?returnEnabled:??? -> ?sortEnabled:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldName.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