# ItemSearchConfidenceDefinitionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Defines the custom confidence value for given search item.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
expression | property ExpressionType | [0,1] | Expression providing the confidence value for the correlation item.

- ### Items

  - #### expression

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Expression providing the confidence value for the correlation item. Its input (variable named `input`) is a value specific to given matching method, e.g., Levenshtein edit distance (a non-negative integer) or trigram similarity value (a decimal number between 0 and 1). Non-fuzzy methods provide the value of 1 there. TODO other inputs? It should output a double precision value, usually between 0 and 1, inclusive. Outputs of such expressions are multiplied together, yielding the final confidence value for the whole match.