Search in sources :

Example 1 with RegexpQueryBuilder

use of org.elasticsearch.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.elasticsearch.index.query.RegexpQueryBuilder)

Example 2 with RegexpQueryBuilder

use of org.elasticsearch.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.elasticsearch.index.query.RegexpQueryBuilder)

Example 3 with RegexpQueryBuilder

use of org.elasticsearch.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.elasticsearch.index.query.RegexpQueryBuilder)

Aggregations

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