Crate fragment [] [src]

Structs

Result

Functions

find

Given a set, find compares its elements and returns a set of Result objects ordered by increasing score values (first values are closest matches). If the result set is larger than max_results, the set is reduced to that size.

similarity

Looks for space delimited terms in query that occur in data, returning a score between 0 and 1, based on the percentage of letters covered in data. Queries with terms that do not exist in data return a score of 0.