Description

levenshteinDistanceMax same as levenshteinDistance but attempts to bail early once we know the distance will be greater than max in which case the first return val will be the max and the second will be true, indicating max was exceeded

LevenshteinDistanceMax is referenced in 2 repositories

github.com/blevesearch/bleve github.com/mayk93/bleve