Open edurenye opened 8 years ago
As discussed, what i'm loooking for is an interface contract that wraps the result and that's what we want to return. (e.g. match score, matching fields, ...) We should not iterate on it too much as it breaks every use of match() again and again. Thus let's do a solid proposal and then implement the interface in a single change.
Now it returns an array with the id as the key, the quality as the value and sorted in descendant order.