Lucene.Net.Search.FuzzyTermsEnum.AutomatonFuzzyTermsEnum.Matches C# (CSharp) Method

Matches() private method

returns true if term is within k edits of the query term
private Matches ( BytesRef term, int k ) : bool
term BytesRef
k int
return bool
            internal bool Matches(BytesRef term, int k)
            {
                return k == 0 ? term.Equals(TermRef) : Matchers[k].Run(term.Bytes, term.Offset, term.Length);
            }
        }