add edit distance search