Skip to main content

Strategies

DistanceStrategy

Use the distance between matches to group them.

Compute the sum of the distances between consecutive matches of each group of matches, and use it to sort these groups in increasing order.

type (required)

Type: string

Must be set to DistanceStrategy.

nb_matches (required)

Type: integer

Minimum: 1

Maximum number of aggregated matches to return.