Search in sources :

Example 11 with SignificantTermsAggregationBuilder

use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsBoostDocumentRuleCA method setUrlExpr_SignificantTerms.

public void setUrlExpr_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsBoostDocumentRuleCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "urlExpr");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        BoostDocumentRuleCA ca = new BoostDocumentRuleCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder) BoostDocumentRuleCA(org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA)

Example 12 with SignificantTermsAggregationBuilder

use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsCrawlingInfoParamCA method setCrawlingInfoId_SignificantTerms.

public void setCrawlingInfoId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "crawlingInfoId");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : CrawlingInfoParamCA(org.codelibs.fess.es.config.cbean.ca.CrawlingInfoParamCA) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)

Example 13 with SignificantTermsAggregationBuilder

use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsBadWordCA method setUpdatedBy_SignificantTerms.

public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsBadWordCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        BadWordCA ca = new BadWordCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : BadWordCA(org.codelibs.fess.es.config.cbean.ca.BadWordCA) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)

Example 14 with SignificantTermsAggregationBuilder

use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsDuplicateHostCA method setCreatedBy_SignificantTerms.

public void setCreatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "createdBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        DuplicateHostCA ca = new DuplicateHostCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : DuplicateHostCA(org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)

Example 15 with SignificantTermsAggregationBuilder

use of org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsDuplicateHostCA method setUpdatedBy_SignificantTerms.

public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsDuplicateHostCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        DuplicateHostCA ca = new DuplicateHostCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : DuplicateHostCA(org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA) SignificantTermsAggregationBuilder(org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)

Aggregations

SignificantTermsAggregationBuilder (org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsAggregationBuilder)209 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)11 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)11 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)10 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)7 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)7 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)7 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)7 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)6 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)6 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)6 ThumbnailQueueCA (org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)5 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)5 BoostDocumentRuleCA (org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA)4 DuplicateHostCA (org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA)4