Search in sources :

Example 1 with SpanTermQueryBuilder

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

Example 2 with SpanTermQueryBuilder

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

Example 3 with SpanTermQueryBuilder

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

Aggregations

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