diff --git a/gradle/version.gradle b/gradle/version.gradle index 51956207..200596da 100644 --- a/gradle/version.gradle +++ b/gradle/version.gradle @@ -1,7 +1,7 @@ import java.util.regex.Pattern -version = "4.0.6"//detectSemVersion() +version = "4.0.7"//detectSemVersion() logger.lifecycle("Project version: $version") String detectSemVersion() { diff --git a/xm-commons-search/src/main/java/com/icthh/xm/commons/search/builder/MatchQueryBuilder.java b/xm-commons-search/src/main/java/com/icthh/xm/commons/search/builder/MatchQueryBuilder.java index 40892582..7eec7fd9 100644 --- a/xm-commons-search/src/main/java/com/icthh/xm/commons/search/builder/MatchQueryBuilder.java +++ b/xm-commons-search/src/main/java/com/icthh/xm/commons/search/builder/MatchQueryBuilder.java @@ -73,6 +73,11 @@ public Operator getOperator() { return this.operator; } + public MatchQueryBuilder operator(Operator operator) { + this.operator = operator; + return this; + } + public int getPrefixLength() { return prefixLength; }