protected Query newFuzzyQuery(Term term,float minimumSimilarity,int prefixLength){
  String text=term.text();
  int numEdits=FuzzyQuery.floatToEdits(minimumSimilarity,text.codePointCount(0,text.length()));
  return new FuzzyQuery(term,numEdits,prefixLength);
}

protected Query newFuzzyQuery ( Term term , float minimumSimilarity , int prefixLength ) { String text = term . text ( ) ; int numEdits = FuzzyQuery . floatToEdits ( minimumSimilarity , text . codePointCount ( 0 , text . length ( ) ) ) ; return new FuzzyQuery ( term , numEdits , prefixLength ) ; }
builds a new fuzzyquery instance
