Search in sources :

Example 1 with RegexpQueryBuilder

use of org.opensearch.index.query.RegexpQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regRegexpQ.

protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
    checkEsInvalidQuery(name, regexp);
    RegexpQueryBuilder regexpQuery = QueryBuilders.regexpQuery(name, regexp);
    regQ(regexpQuery);
    return regexpQuery;
}
Also used : RegexpQueryBuilder(org.opensearch.index.query.RegexpQueryBuilder)

Example 2 with RegexpQueryBuilder

use of org.opensearch.index.query.RegexpQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regRegexpQ.

protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
    checkEsInvalidQuery(name, regexp);
    RegexpQueryBuilder regexpQuery = QueryBuilders.regexpQuery(name, regexp);
    regQ(regexpQuery);
    return regexpQuery;
}
Also used : RegexpQueryBuilder(org.opensearch.index.query.RegexpQueryBuilder)

Example 3 with RegexpQueryBuilder

use of org.opensearch.index.query.RegexpQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regRegexpQ.

protected RegexpQueryBuilder regRegexpQ(String name, String regexp) {
    checkEsInvalidQuery(name, regexp);
    RegexpQueryBuilder regexpQuery = QueryBuilders.regexpQuery(name, regexp);
    regQ(regexpQuery);
    return regexpQuery;
}
Also used : RegexpQueryBuilder(org.opensearch.index.query.RegexpQueryBuilder)

Aggregations

RegexpQueryBuilder (org.opensearch.index.query.RegexpQueryBuilder)3