public static BooleanExpression fuzzyLike ( Path < String > path , String value , int maxEdits ) { Term term = new Term ( path . getMetadata ( ) . getName ( ) , value ) ; return new QueryElement ( new FuzzyQuery ( term , maxEdits ) ) ; }
Create a fuzzy query