Search in sources :

Example 1 with SpanTermQueryBuilder

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

the class EsAbstractConditionQuery method regSpanTermQ.

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

Example 2 with SpanTermQueryBuilder

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

the class EsAbstractConditionQuery method regSpanTermQ.

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

Example 3 with SpanTermQueryBuilder

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

the class EsAbstractConditionQuery method regSpanTermQ.

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

Aggregations

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