public final class LuceneExpressions extends Object
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
fuzzyLike(Path<String> path,
String value)
Create a fuzzy query
|
static BooleanExpression |
fuzzyLike(Path<String> path,
String value,
float minimumSimilarity)
Create a fuzzy query
|
static BooleanExpression |
fuzzyLike(Path<String> path,
String value,
float minimumSimilarity,
int prefixLength)
Create a fuzzy query
|
public static BooleanExpression fuzzyLike(Path<String> path, String value)
path
- pathvalue
- value to matchpublic static BooleanExpression fuzzyLike(Path<String> path, String value, float minimumSimilarity)
path
- pathvalue
- value to matchminimumSimilarity
- a value between 0 and 1 to set the required similaritypublic static BooleanExpression fuzzyLike(Path<String> path, String value, float minimumSimilarity, int prefixLength)
path
- pathvalue
- value to matchminimumSimilarity
- a value between 0 and 1 to set the required similarityprefixLength
- length of common (non-fuzzy) prefixCopyright © 2007–2016 Querydsl. All rights reserved.