Search in sources :

Example 1 with TermQueryBuilder

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

the class EsAbstractConditionQuery method regTermQ.

protected TermQueryBuilder regTermQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
    regQ(termQuery);
    return termQuery;
}
Also used : SpanTermQueryBuilder(org.opensearch.index.query.SpanTermQueryBuilder) TermQueryBuilder(org.opensearch.index.query.TermQueryBuilder)

Example 2 with TermQueryBuilder

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

the class EsAbstractConditionQuery method regTermQ.

protected TermQueryBuilder regTermQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
    regQ(termQuery);
    return termQuery;
}
Also used : SpanTermQueryBuilder(org.opensearch.index.query.SpanTermQueryBuilder) TermQueryBuilder(org.opensearch.index.query.TermQueryBuilder)

Example 3 with TermQueryBuilder

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

the class EsAbstractConditionQuery method regTermQ.

protected TermQueryBuilder regTermQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    TermQueryBuilder termQuery = QueryBuilders.termQuery(name, value);
    regQ(termQuery);
    return termQuery;
}
Also used : SpanTermQueryBuilder(org.opensearch.index.query.SpanTermQueryBuilder) TermQueryBuilder(org.opensearch.index.query.TermQueryBuilder)

Aggregations

SpanTermQueryBuilder (org.opensearch.index.query.SpanTermQueryBuilder)3 TermQueryBuilder (org.opensearch.index.query.TermQueryBuilder)3