Search in sources :

Example 1 with WildcardQueryBuilder

use of org.elasticsearch.index.query.WildcardQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regWildcardQ.

protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
    checkEsInvalidQuery(name, wildcard);
    WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
    regQ(wildcardQuery);
    return wildcardQuery;
}
Also used : WildcardQueryBuilder(org.elasticsearch.index.query.WildcardQueryBuilder)

Example 2 with WildcardQueryBuilder

use of org.elasticsearch.index.query.WildcardQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regWildcardQ.

protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
    checkEsInvalidQuery(name, wildcard);
    WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
    regQ(wildcardQuery);
    return wildcardQuery;
}
Also used : WildcardQueryBuilder(org.elasticsearch.index.query.WildcardQueryBuilder)

Example 3 with WildcardQueryBuilder

use of org.elasticsearch.index.query.WildcardQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regWildcardQ.

protected WildcardQueryBuilder regWildcardQ(String name, String wildcard) {
    checkEsInvalidQuery(name, wildcard);
    WildcardQueryBuilder wildcardQuery = QueryBuilders.wildcardQuery(name, wildcard);
    regQ(wildcardQuery);
    return wildcardQuery;
}
Also used : WildcardQueryBuilder(org.elasticsearch.index.query.WildcardQueryBuilder)

Aggregations

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