org.elasticsearch.index.query.TermsQueryBuilder Java Examples

The following examples show how to use org.elasticsearch.index.query.TermsQueryBuilder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BsKeyMatchCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setQuery_Terms(Collection<String> queryList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("query", queryList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #2
Source File: BsElevateWordCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setSuggestWord_InScope(Collection<String> suggestWordList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setSuggestWord_Terms(suggestWordList, opLambda);
}
 
Example #3
Source File: BsBadWordCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setSuggestWord_Terms(Collection<String> suggestWordList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("suggestWord", suggestWordList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #4
Source File: BsDataConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedBy_Terms(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("createdBy", createdByList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #5
Source File: BsRelatedContentCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setUpdatedTime_InScope(Collection<Long> updatedTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setUpdatedTime_Terms(updatedTimeList, opLambda);
}
 
Example #6
Source File: BsPathMappingCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedBy_Terms(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("createdBy", createdByList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #7
Source File: BsCrawlingInfoCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setSessionId_Terms(Collection<String> sessionIdList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("sessionId", sessionIdList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #8
Source File: BsRelatedQueryCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setQueries_InScope(Collection<String> queriesList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setQueries_Terms(queriesList, opLambda);
}
 
Example #9
Source File: BsBoostDocumentRuleCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setUpdatedTime_InScope(Collection<Long> updatedTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setUpdatedTime_Terms(updatedTimeList, opLambda);
}
 
Example #10
Source File: BsWebConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setIntervalTime_InScope(Collection<Integer> intervalTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setIntervalTime_Terms(intervalTimeList, opLambda);
}
 
Example #11
Source File: BsAccessTokenCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setName_Terms(Collection<String> nameList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("name", nameList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #12
Source File: BsScheduledJobCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setTarget_InScope(Collection<String> targetList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setTarget_Terms(targetList, opLambda);
}
 
Example #13
Source File: BsWebConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setBoost_InScope(Collection<Float> boostList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setBoost_Terms(boostList, opLambda);
}
 
Example #14
Source File: BsJobLogCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setScriptType_InScope(Collection<String> scriptTypeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setScriptType_Terms(scriptTypeList, opLambda);
}
 
Example #15
Source File: BsWebAuthenticationCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setPort_Terms(Collection<Integer> portList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("port", portList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #16
Source File: BsJobLogCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setLastUpdated_InScope(Collection<Long> lastUpdatedList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setLastUpdated_Terms(lastUpdatedList, opLambda);
}
 
Example #17
Source File: BsScheduledJobCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCronExpression_InScope(Collection<String> cronExpressionList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setCronExpression_Terms(cronExpressionList, opLambda);
}
 
Example #18
Source File: BsBadWordCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedTime_InScope(Collection<Long> createdTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setCreatedTime_Terms(createdTimeList, opLambda);
}
 
Example #19
Source File: BsBoostDocumentRuleCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setUpdatedBy_Terms(Collection<String> updatedByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("updatedBy", updatedByList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #20
Source File: BsKeyMatchCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setQuery_InScope(Collection<String> queryList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setQuery_Terms(queryList, opLambda);
}
 
Example #21
Source File: BsKeyMatchCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setTerm_Terms(Collection<String> termList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("term", termList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #22
Source File: BsWebConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setNumOfThread_InScope(Collection<Integer> numOfThreadList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setNumOfThread_Terms(numOfThreadList, opLambda);
}
 
Example #23
Source File: BsFileConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setIncludedDocPaths_InScope(Collection<String> includedDocPathsList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setIncludedDocPaths_Terms(includedDocPathsList, opLambda);
}
 
Example #24
Source File: BsScheduledJobCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedBy_InScope(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setCreatedBy_Terms(createdByList, opLambda);
}
 
Example #25
Source File: BsWebConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setUserAgent_Terms(Collection<String> userAgentList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("userAgent", userAgentList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #26
Source File: BsLabelTypeCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedBy_InScope(Collection<String> createdByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setCreatedBy_Terms(createdByList, opLambda);
}
 
Example #27
Source File: BsFileConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setCreatedTime_InScope(Collection<Long> createdTimeList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setCreatedTime_Terms(createdTimeList, opLambda);
}
 
Example #28
Source File: BsDataConfigCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setUpdatedBy_Terms(Collection<String> updatedByList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("updatedBy", updatedByList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #29
Source File: BsCrawlingInfoParamCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setValue_Terms(Collection<String> valueList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    TermsQueryBuilder builder = regTermsQ("value", valueList);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
}
 
Example #30
Source File: BsScheduledJobCQ.java    From fess with Apache License 2.0 4 votes vote down vote up
public void setJobLogging_InScope(Collection<Boolean> jobLoggingList, ConditionOptionCall<TermsQueryBuilder> opLambda) {
    setJobLogging_Terms(jobLoggingList, opLambda);
}