Search in sources :

Example 31 with RangeQueryBuilder

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

the class BsBoostDocumentRuleCQ method setBoostExpr_GreaterThan.

public void setBoostExpr_GreaterThan(String boostExpr, ConditionOptionCall<RangeQueryBuilder> opLambda) {
    final Object _value = boostExpr;
    RangeQueryBuilder builder = regRangeQ("boostExpr", ConditionKey.CK_GREATER_THAN, _value);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
Also used : RangeQueryBuilder(org.elasticsearch.index.query.RangeQueryBuilder)

Example 32 with RangeQueryBuilder

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

the class BsBoostDocumentRuleCQ method setCreatedTime_LessThan.

public void setCreatedTime_LessThan(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
    final Object _value = createdTime;
    RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_LESS_THAN, _value);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
Also used : RangeQueryBuilder(org.elasticsearch.index.query.RangeQueryBuilder)

Example 33 with RangeQueryBuilder

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

the class BsBoostDocumentRuleCQ method setSortOrder_GreaterThan.

public void setSortOrder_GreaterThan(Integer sortOrder, ConditionOptionCall<RangeQueryBuilder> opLambda) {
    final Object _value = sortOrder;
    RangeQueryBuilder builder = regRangeQ("sortOrder", ConditionKey.CK_GREATER_THAN, _value);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
Also used : RangeQueryBuilder(org.elasticsearch.index.query.RangeQueryBuilder)

Example 34 with RangeQueryBuilder

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

the class BsBoostDocumentRuleCQ method setUpdatedTime_LessThan.

public void setUpdatedTime_LessThan(Long updatedTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
    final Object _value = updatedTime;
    RangeQueryBuilder builder = regRangeQ("updatedTime", ConditionKey.CK_LESS_THAN, _value);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
Also used : RangeQueryBuilder(org.elasticsearch.index.query.RangeQueryBuilder)

Example 35 with RangeQueryBuilder

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

the class BsBoostDocumentRuleCQ method setCreatedTime_LessEqual.

public void setCreatedTime_LessEqual(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) {
    final Object _value = createdTime;
    RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_LESS_EQUAL, _value);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
Also used : RangeQueryBuilder(org.elasticsearch.index.query.RangeQueryBuilder)

Aggregations

RangeQueryBuilder (org.elasticsearch.index.query.RangeQueryBuilder)1199 BoolQueryBuilder (org.elasticsearch.index.query.BoolQueryBuilder)6 FunctionScoreQueryBuilder (org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder)5 MatchAllQueryBuilder (org.elasticsearch.index.query.MatchAllQueryBuilder)4 QueryBuilder (org.elasticsearch.index.query.QueryBuilder)4 SearchResponse (org.elasticsearch.action.search.SearchResponse)3 CommonTermsQueryBuilder (org.elasticsearch.index.query.CommonTermsQueryBuilder)3 ExistsQueryBuilder (org.elasticsearch.index.query.ExistsQueryBuilder)3 IdsQueryBuilder (org.elasticsearch.index.query.IdsQueryBuilder)3 MatchPhrasePrefixQueryBuilder (org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder)3 MatchPhraseQueryBuilder (org.elasticsearch.index.query.MatchPhraseQueryBuilder)3 MatchQueryBuilder (org.elasticsearch.index.query.MatchQueryBuilder)3 MoreLikeThisQueryBuilder (org.elasticsearch.index.query.MoreLikeThisQueryBuilder)3 PrefixQueryBuilder (org.elasticsearch.index.query.PrefixQueryBuilder)3 QueryStringQueryBuilder (org.elasticsearch.index.query.QueryStringQueryBuilder)3 RegexpQueryBuilder (org.elasticsearch.index.query.RegexpQueryBuilder)3 SpanTermQueryBuilder (org.elasticsearch.index.query.SpanTermQueryBuilder)3 TermQueryBuilder (org.elasticsearch.index.query.TermQueryBuilder)3 TermsQueryBuilder (org.elasticsearch.index.query.TermsQueryBuilder)3 WildcardQueryBuilder (org.elasticsearch.index.query.WildcardQueryBuilder)3